Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Generate dependencies with -MM instead of -M.

  • Loading branch information...
commit addbe4a39f9009cb5ee4c3db4775f94055030294 1 parent 1c6f89c
@nelhage authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Makefile
View
2  Makefile
@@ -29,7 +29,7 @@ check-syntax:
%.d: %.c
@set -e; rm -f $@; \
- $(CC) -M $(CPPFLAGS) $< > $@.$$$$; \
+ $(CC) -MM $(CPPFLAGS) $< > $@.$$$$; \
sed 's,\($*\)\.o[ :]*,\1.o $@ : ,g' < $@.$$$$ > $@; \
rm -f $@.$$$$
Please sign in to comment.
Something went wrong with that request. Please try again.