From 6658af3f66232211fe4720cf611bf4cf10ce415e Mon Sep 17 00:00:00 2001 From: "Sijmen J. Mulder" Date: Mon, 17 Dec 2018 09:50:29 +0100 Subject: Revert "Remove CPPFLAGS since C++ is not used" Mistook CPPFLAGS ("C preprocessor flags") for CXXFLAGS ("C++ flags"). This reverts commit 0956b82d33fb2956da837e6a06a2a6f7216d47c0. --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 0235c02..e5b645e 100644 --- a/Makefile +++ b/Makefile @@ -33,10 +33,10 @@ all: $(BIN) $(SRC): src/nnn.h $(BIN): $(SRC) - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) + $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) debug: $(SRC) - $(CC) -DDEBUGMODE -g $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS) + $(CC) -DDEBUGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS) install: all $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin -- cgit v1.2.3-70-g09d2