mirror of
https://github.com/jarun/nnn.git
synced 2024-11-18 00:49:15 +00:00
Merge pull request #1361 from N-R-K/headers_makefile
add headers as make dependancy
This commit is contained in:
commit
e1e47f909f
16
Makefile
16
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
|
||||
|
|
Loading…
Reference in a new issue