浏览代码

Added -MP dependency generation option to compile flags

master
Bert Münnich 10 年前
父节点
当前提交
54af451b4a
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. +2
    -2
      Makefile

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


正在加载...
取消
保存