Browse Source

Hopefully solve the problem requiring the occasional "rm -rf bin/deps".

tags/v0.9.3
Michael Brown 17 years ago
parent
commit
976a8514cb
1 changed files with 2 additions and 1 deletions
  1. 2
    1
      src/Makefile.housekeeping

+ 2
- 1
src/Makefile.housekeeping View File

@@ -119,7 +119,8 @@ endef
119 119
 define obj_template
120 120
 
121 121
 	@$(CPP) $(CFLAGS) $(CFLAGS_$(3)) $(CFLAGS_$(4)) \
122
-		-M $(1) -MT "$(4)_DEPS" -MG | tr : = >> $(2)
122
+		-M $(1) -MT "$(4)_DEPS" -MG -MP | \
123
+		sed 's/_DEPS\s*:/_DEPS =/' >> $(2)
123 124
 	@echo -e '\n$$(BIN)/$(4).o : $(1) $$(MAKEDEPS) $$($(4)_DEPS)' \
124 125
 		 '\n\t$$(QM)echo "  [BUILD] $$@"\n' \
125 126
 		 '\n\t$$(RULE_$(3))\n' \

Loading…
Cancel
Save