mirror of https://github.com/rusefi/rusefi.git
make PCHOBJ depend on CPPOBJS for simulator
make clean simulator remove pch
This commit is contained in:
parent
2e71050428
commit
15d53bb3c3
|
@ -19,8 +19,9 @@ endif
|
|||
# the deps for that .o file in the same GCC call, so if the .deps aren't already
|
||||
# in the correct state, things can fail to build because Make doesn't know it needs
|
||||
# to build the prerequisites (in this case PCHOBJ) for those files ahead of time.
|
||||
$(TCPPOBJS) : $(PCHOBJ)
|
||||
$(ACPPOBJS) : $(PCHOBJ)
|
||||
$(TCPPOBJS): $(PCHOBJ)
|
||||
$(ACPPOBJS): $(PCHOBJ)
|
||||
$(CPPOBJS): $(PCHOBJ)
|
||||
|
||||
# Delete PCH output on clean
|
||||
CLEAN_PCH_HOOK:
|
||||
|
|
|
@ -298,7 +298,9 @@ endif
|
|||
# Enable precompiled header
|
||||
include $(PROJECT_DIR)/rusefi_pch.mk
|
||||
|
||||
CLEAN_RULE_HOOK:
|
||||
.PHONY: CLEAN_RULE_HOOK CLEAN_PCH_HOOK
|
||||
|
||||
CLEAN_RULE_HOOK: CLEAN_PCH_HOOK
|
||||
@echo Cleaning Simulator
|
||||
rm -rf build
|
||||
rm -rf .dep
|
||||
|
|
Loading…
Reference in New Issue