improve makefile

This commit is contained in:
0xf8 2023-06-03 15:45:04 -04:00
parent 897b3c6068
commit e9d61447f2
Signed by: 0xf8
GPG Key ID: 446580D758689584
1 changed files with 1 additions and 2 deletions

View File

@ -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)