Remove CPPFLAGS since C++ is not used

This commit is contained in:
Sijmen J. Mulder 2018-12-16 18:02:19 +01:00
parent 7833781221
commit 4005a1fa46

View file

@ -33,10 +33,10 @@ all: $(BIN)
$(SRC): src/nnn.h $(SRC): src/nnn.h
$(BIN): $(SRC) $(BIN): $(SRC)
$(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS) $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
debug: $(SRC) debug: $(SRC)
$(CC) -DDEBUGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS) $(CC) -DDEBUGMODE -g $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
install: all install: all
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin $(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin