Pārlūkot izejas kodu

Define -DOBJECT when generating Makefile rules, for consistency.

Inhibit -Werror when generating Makefile rules, to prevent warnings
from killing the dependency list.
tags/v0.9.3
Michael Brown 17 gadus atpakaļ
vecāks
revīzija
f0acd8d7a7
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2
    2
      src/Makefile.housekeeping

+ 2
- 2
src/Makefile.housekeeping Parādīt failu

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

Notiek ielāde…
Atcelt
Saglabāt