diff options
author | Michael Brown <mcb30@etherboot.org> | 2008-03-24 00:28:55 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2008-03-24 00:28:55 +0000 |
commit | c06e6d063582a96982449b0238b0081ae8da0114 (patch) | |
tree | 39da4cfb9082446acdebd4dcf2e66649243b92df /src/Makefile.housekeeping | |
parent | dbf8a02e8f719390cc862866414781801d602ecf (diff) | |
download | ipxe-c06e6d063582a96982449b0238b0081ae8da0114.tar.gz |
[Makefile] Use -MM instead of -M in dependency generation
Using -MM strips out any system header files from the dependency list,
which means that we could safely use an external stdarg.h if we wanted
to.
Diffstat (limited to 'src/Makefile.housekeeping')
-rw-r--r-- | src/Makefile.housekeeping | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.housekeeping b/src/Makefile.housekeeping index ba306ca5..fe3addc9 100644 --- a/src/Makefile.housekeeping +++ b/src/Makefile.housekeeping @@ -179,7 +179,7 @@ endef define obj_template @$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) -DOBJECT=$(4) \ - -Wno-error -M $(1) -MT "$(4)_DEPS" -MG -MP | \ + -Wno-error -MM $(1) -MT "$(4)_DEPS" -MG -MP | \ sed 's/_DEPS\s*:/_DEPS =/' >> $(2) @$(ECHO_E) '\n$$(BIN)/$(4).o : $(1) $$(MAKEDEPS) $$($(4)_DEPS)' \ '\n\t$$(QM)$(ECHO) " [BUILD] $$@"\n' \ |