diff --git a/Makefile b/Makefile index 71b0681..70ff761 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,6 @@ OBJ = $(patsubst src/%.c,%.o,$(wildcard src/*.c)) HEADERS = $(wildcard src/*.h) -CC = clang -FLAGS = -std=c17 -O3 -pthread +FLAGS := $(CFLAGS) -std=c17 -O3 -pthread LIB = -lncurses -lnotcurses -lnotcurses-core %.o: src/%.c $(HEADERS)