http://git.etherboot.org
/
people
/
indolent
/
gpxe.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd7e296
)
Hopefully solve the problem requiring the occasional "rm -rf bin/deps".
author
Michael Brown
<mcb30@etherboot.org>
Mon, 9 Jul 2007 22:10:55 +0000
(23:10 +0100)
committer
Michael Brown
<mcb30@etherboot.org>
Mon, 9 Jul 2007 22:10:55 +0000
(23:10 +0100)
src/Makefile.housekeeping
patch
|
blob
|
history
diff --git
a/src/Makefile.housekeeping
b/src/Makefile.housekeeping
index
52c6a1b
..
c62650e
100644
(file)
--- a/
src/Makefile.housekeeping
+++ b/
src/Makefile.housekeeping
@@
-119,7
+119,8
@@
endef
define obj_template
@$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) \
- -M $(1) -MT "$(4)_DEPS" -MG | tr : = >> $(2)
+ -M $(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' \
'\n\t$$(RULE_$(3))\n' \