Pārlūkot izejas kodu

Added -MP dependency generation option to compile flags

master
Bert Münnich pirms 11 gadiem
vecāks
revīzija
54af451b4a
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. +2
    -2
      Makefile

+ 2
- 2
Makefile Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt