Modify Makefile

Signed-off-by: 0xf8 <0xf8.dev@proton.me>
This commit is contained in:
0xf8 2023-02-25 12:06:52 -05:00
parent d23e410c8f
commit fdbca41c12
Signed by: 0xf8
GPG Key ID: 446580D758689584

View File

@ -1,7 +1,7 @@
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 CC = clang
FLAGS = -g -std=c17 -fsanitize=address FLAGS = -std=c17 -O2
LIB = -lncurses LIB = -lncurses
%.o: src/%.c $(HEADERS) %.o: src/%.c $(HEADERS)