Browse Source

Added -MP dependency generation option to compile flags

master
Bert Münnich 10 years ago
parent
commit
54af451b4a
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile 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 $@


Loading…
Cancel
Save