mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
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:
parent
4005a1fa46
commit
6658af3f66
4
Makefile
4
Makefile
|
@ -33,10 +33,10 @@ all: $(BIN)
|
||||||
$(SRC): src/nnn.h
|
$(SRC): src/nnn.h
|
||||||
|
|
||||||
$(BIN): $(SRC)
|
$(BIN): $(SRC)
|
||||||
$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
|
||||||
|
|
||||||
debug: $(SRC)
|
debug: $(SRC)
|
||||||
$(CC) -DDEBUGMODE -g $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
|
$(CC) -DDEBUGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
|
||||||
|
|
||||||
install: all
|
install: all
|
||||||
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
|
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin
|
||||||
|
|
Loading…
Reference in a new issue