diff options
author | Sijmen J. Mulder <ik@sjmulder.nl> | 2018-12-17 09:50:29 +0100 |
---|---|---|
committer | Sijmen J. Mulder <ik@sjmulder.nl> | 2018-12-17 10:22:36 +0100 |
commit | 6658af3f66232211fe4720cf611bf4cf10ce415e (patch) | |
tree | 6e671b419c2c6ae954c1c22c73ee959d49cfb101 | |
parent | 4005a1fa4679adcfcb4d51fa89aca0ab1db3cd26 (diff) | |
download | nnn-6658af3f66232211fe4720cf611bf4cf10ce415e.tar.gz |
Revert "Remove CPPFLAGS since C++ is not used"
Mistook CPPFLAGS ("C preprocessor flags") for CXXFLAGS ("C++ flags").
This reverts commit 0956b82d33fb2956da837e6a06a2a6f7216d47c0.
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |