commit 6f332e5260793c0080592811c110332c4bc0e464
parent b45be9bc5b34c863db8c68e56fedc4112d582191
Author: NRK <nrk@disroot.org>
Date: Sun, 24 Apr 2022 01:54:09 +0600
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