aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Sijmen J. Mulder <ik@sjmulder.nl>2018-12-16 18:02:19 +0100
committerGravatar Sijmen J. Mulder <ik@sjmulder.nl>2018-12-16 20:19:08 +0100
commit4005a1fa4679adcfcb4d51fa89aca0ab1db3cd26 (patch)
treec9ff993380b07855ca61298a3dc2c7d2c761e019
parent78337812218f12c1d6fc7ac35b4deff21b6a0d6b (diff)
downloadnnn-4005a1fa4679adcfcb4d51fa89aca0ab1db3cd26.tar.gz
Remove CPPFLAGS since C++ is not used
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e5b645e..0235c02 100644
--- a/Makefile
+++ b/Makefile
@@ -33,10 +33,10 @@ all: $(BIN)
$(SRC): src/nnn.h
$(BIN): $(SRC)
- $(CC) $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
+ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $^ $(LDLIBS)
debug: $(SRC)
- $(CC) -DDEBUGMODE -g $(CPPFLAGS) $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
+ $(CC) -DDEBUGMODE -g $(CFLAGS) $(LDFLAGS) -o $(BIN) $^ $(LDLIBS)
install: all
$(INSTALL) -m 0755 -d $(DESTDIR)$(PREFIX)/bin