Include S_overrides.mk regardless of build target

We if exclude it for clean targets, users can't append any prerequisites
to clean targets.

Refs #360
This commit is contained in:
Derek Bankieris 2017-02-17 15:47:23 -06:00
parent c909669f7d
commit 55d53c3f5e

View File

@ -143,9 +143,9 @@ Simulation make options:\n\
make spotless - Performs a clean\n\
make apocalypse - Performs a clean"
-include S_overrides.mk
CLEAN_TARGETS = tidy clean spotless distclean apocalypse
ifeq ($(findstring ${MAKECMDGOALS},$(CLEAN_TARGETS)),)
-include S_overrides.mk
-include build/S_define.deps
-include build/Makefile_src
-include build/Makefile_src_deps