1
0

More accurate conditional include of generated .d make fragment (#222)

This commit is contained in:
Ben Keller 2016-08-25 14:42:04 -07:00 committed by Henry Cook
parent 8ff739d3fa
commit 4f388add67
2 changed files with 2 additions and 2 deletions

View File

@ -35,7 +35,7 @@ test:
# Run assembly tests and benchmarks # Run assembly tests and benchmarks
#-------------------------------------------------------------------- #--------------------------------------------------------------------
ifneq ($(MAKECMDGOALS),clean) ifneq ($(filter run% %.run %.out %.vpd %.vcd,$(MAKECMDGOALS)),)
-include $(generated_dir)/$(MODEL).$(CONFIG).d -include $(generated_dir)/$(MODEL).$(CONFIG).d
endif endif

View File

@ -21,7 +21,7 @@ TB ?= TestDriver
include $(base_dir)/Makefrag include $(base_dir)/Makefrag
include $(sim_dir)/Makefrag include $(sim_dir)/Makefrag
ifneq ($(MAKECMDGOALS),clean) ifneq ($(filter run% %.run %.out %.vpd %.vcd,$(MAKECMDGOALS)),)
-include $(generated_dir)/$(MODEL).$(CONFIG).d -include $(generated_dir)/$(MODEL).$(CONFIG).d
endif endif
include $(base_dir)/vsim/Makefrag-verilog include $(base_dir)/vsim/Makefrag-verilog