Added -MP dependency generation option to compile flags

This commit is contained in:
Bert Münnich 2014-11-14 18:12:11 +01:00
parent f55d9f4283
commit 54af451b4a

View file

@ -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 $@