improve makefile
This commit is contained in:
parent
897b3c6068
commit
e9d61447f2
3
Makefile
3
Makefile
@ -1,7 +1,6 @@
|
|||||||
OBJ = $(patsubst src/%.c,%.o,$(wildcard src/*.c))
|
OBJ = $(patsubst src/%.c,%.o,$(wildcard src/*.c))
|
||||||
HEADERS = $(wildcard src/*.h)
|
HEADERS = $(wildcard src/*.h)
|
||||||
CC = clang
|
FLAGS := $(CFLAGS) -std=c17 -O3 -pthread
|
||||||
FLAGS = -std=c17 -O3 -pthread
|
|
||||||
LIB = -lncurses -lnotcurses -lnotcurses-core
|
LIB = -lncurses -lnotcurses -lnotcurses-core
|
||||||
|
|
||||||
%.o: src/%.c $(HEADERS)
|
%.o: src/%.c $(HEADERS)
|
||||||
|
Loading…
Reference in New Issue
Block a user