From: NRK Date: Sat, 23 Apr 2022 19:54:09 +0000 (+0600) Subject: add headers as make dependancy X-Git-Tag: v4.6~80^2 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=6f332e5260793c0080592811c110332c4bc0e464;p=nnn.git add headers as make dependancy --- diff --git a/Makefile b/Makefile index 0916948f..6b8772f4 100644 --- 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