commit e1e47f909f7a16b581e9000f03cbb86a8cad2353
parent c23125ba500e468225727f6d0c096460aa023838
Author: Arun <engineerarun@gmail.com>
Date: Thu, 12 May 2022 16:36:11 +0530
Merge pull request #1361 from N-R-K/headers_makefile
add headers as make dependancy
Diffstat:
1 file changed, 16 insertions(+), 0 deletions(-)
diff --git a/Makefile b/Makefile
@@ -182,6 +182,22 @@ ifneq ($(MACOS_BELOW_1012),)
CPPFLAGS += -DMACOS_BELOW_1012
endif
+ifeq ($(strip $(O_DEBUG)),1)
+ HEADERS += src/dbg.h
+endif
+ifeq ($(strip $(O_EMOJI)),1)
+ HEADERS += src/icons.h src/icons-emoji.h
+endif
+ifeq ($(strip $(O_NERD)),1)
+ HEADERS += src/icons.h src/icons-nerdfont.h
+endif
+ifeq ($(strip $(O_ICONS)),1)
+ HEADERS += src/icons.h src/icons-in-terminal.h
+endif
+ifeq ($(strip $(O_QSORT)),1)
+ HEADERS += src/qsort.h
+endif
+
all: $(BIN)
$(BIN): $(SRC) $(HEADERS) Makefile