aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-11-14 18:12:11 +0100
committerBert Münnich <ber.t@posteo.de>2014-11-14 18:12:18 +0100
commit54af451b4a81b5b1072f27de0981a2d39cabc2d6 (patch)
tree6c58eaca6ef5611530266b0bdb91471d44883476
parentf55d9f4283f7133ab5a137fc04ee19d1df62fafb (diff)
Added -MP dependency generation option to compile flags
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 0568242..a3c27f1 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-VERSION := git-20141102
+VERSION := git-20141114
PREFIX := /usr/local
MANPREFIX := $(PREFIX)/share/man
@@ -20,7 +20,7 @@ $(OBJ): Makefile
-include $(DEP)
%.o: %.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -MMD -c -o $@ $<
+ $(CC) $(CFLAGS) $(CPPFLAGS) -DVERSION=\"$(VERSION)\" -MMD -MP -c -o $@ $<
config.h:
cp config.def.h $@