Revert "Remove CPPFLAGS since C++ is not used"

Mistook CPPFLAGS ("C preprocessor flags") for CXXFLAGS ("C++ flags").

This reverts commit 0956b82d33fb2956da837e6a06a2a6f7216d47c0.
This commit is contained in:
Sijmen J. Mulder 2018-12-17 09:50:29 +01:00
parent 4005a1fa46
commit 6658af3f66

View file

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