Merge pull request #1361 from N-R-K/headers_makefile

add headers as make dependancy
This commit is contained in:
Arun 2022-05-12 16:36:11 +05:30 committed by GitHub
commit e1e47f909f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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