From e9d61447f24c9abfec36cd4333c8dc87a2d229d0 Mon Sep 17 00:00:00 2001 From: 0xf8 <0xf8.dev@proton.me> Date: Sat, 3 Jun 2023 15:45:04 -0400 Subject: [PATCH] improve makefile --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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)