提交给cgit项目的另外一个patch被接收了
时间:2010-11-14 来源:linuxGentoo
http://hjemli.net/git/cgit/commit/?id=5807fb79faa49e9a8f2da616e9cc821e0198fcb7
author | Lars Hjemli <[email protected]> | 2010-11-07 15:13:49 (GMT) |
---|---|---|
committer | Lars Hjemli <[email protected]> | 2010-11-07 15:13:49 (GMT) |
commit | 5807fb79faa49e9a8f2da616e9cc821e0198fcb7 (patch) (side-by-side diff) | |
tree | ab36f62bc5fea3856603f6653f5c8da31233abea | |
parent | d41b2ddcb331caa74c1a90a0253f234142848552 (diff) | |
download |
cgit-5807fb79faa49e9a8f2da616e9cc821e0198fcb7.zip cgit-5807fb79faa49e9a8f2da616e9cc821e0198fcb7.tar.gz cgit-5807fb79faa49e9a8f2da616e9cc821e0198fcb7.tar.bz2 |
Makefile: add -MP option
Work around errors `make` gives when header files are removed without the Makefile being updated. Signed-off-by: Lynn Lin <[email protected]> Signed-off-by: Lars Hjemli <[email protected]>
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r-- | Makefile | 2 |
|
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile index dda743d..15c7c20 100644 --- a/Makefile +++ b/Makefile
@@ -67,7 +67,7 @@ endif
# Define a pattern rule for automatic dependency building
#
%.d: %.c
- $(QUIET_MM)$(CC) $(CFLAGS) -MM $< | sed -e 's/\($*\)\.o:/\1.o $@:/g' >$@
+ $(QUIET_MM)$(CC) $(CFLAGS) -MM -MP $< | sed -e 's/\($*\)\.o:/\1.o $@:/g' >$@
#
# Define a pattern rule for silent object building
|
相关阅读 更多 +