From 6f332e5260793c0080592811c110332c4bc0e464 Mon Sep 17 00:00:00 2001 From: NRK Date: Sun, 24 Apr 2022 01:54:09 +0600 Subject: [PATCH] add headers as make dependancy --- Makefile | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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