X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fregression%2FMakefile;h=5d9e50eb8c6ab031d3932861dff0bbf2aa87f013;hb=1bb04369c1ceddeeace0ecd3a8bd05f0877ba4e3;hp=92057a7ea8e61be2e389b0ef25dbee65f6a99908;hpb=996479e693b89834cdd0a0c949b310e526c817cd;p=fw%2Fsdcc diff --git a/support/regression/Makefile b/support/regression/Makefile index 92057a7e..5d9e50eb 100644 --- a/support/regression/Makefile +++ b/support/regression/Makefile @@ -61,10 +61,10 @@ GENERATE_CASES = generate-cases.py # The port name must be the same as the one used in the SDCC '-mxxx' argument. # Each port must have a spec.mk which describes how to build the object # files and how to run the emulator. -ALL_PORTS = $(filter-out CVS mcs51 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*))) +ALL_PORTS = $(filter-out CVS mcs51 ds390 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*))) # These ports will be cleaned with 'make clean' -CLEAN_PORTS = $(filter-out CVS,$(notdir $(wildcard $(PORTS_DIR)/*))) +CLEAN_PORTS = $(filter-out CVS,$(notdir $(wildcard $(PORTS_DIR)/*))) all: test-ports @@ -84,7 +84,11 @@ test-gbz80: test-mcs51: $(MAKE) inter-port-clean test-port PORT=mcs51 -# Helper rule for testing the host cc only + # Helper rule for testing the ds390 port only +test-ds390: + $(MAKE) inter-port-clean test-port PORT=ds390 + +### Helper rule for testing the host cc only test-host: $(MAKE) inter-port-clean test-port PORT=host @@ -115,7 +119,7 @@ OBJEXT = .o # Extension of files that can be run in the emulator EXEEXT = .bin # Currently unused. Extension to append to intermediate directories. -DIREXT = +DIREXT = # Only include if we're in a per-port call. ifdef PORT @@ -183,9 +187,9 @@ $(RESULTS): $(SUB_RESULTS) # BeginGeneric rules clean: inter-port-clean - rm -rf $(CASES_DIR) $(RESULTS_DIR) *.pyc + rm -rf $(CASES_DIR) $(RESULTS_DIR) *.pyc fwk/lib/timeout fwk/lib/timeout.exe for i in $(CLEAN_PORTS); do $(MAKE) -f $(PORTS_DIR)/$$i/spec.mk _clean PORT=$$i; done inter-port-clean: rm -f fwk/lib/*.o fwk/lib/*.asm fwk/lib/*.rst fwk/lib/*.lst fwk/lib/*.rel \ - fwk/lib/*.ihx fwk/lib/*.map fwk/lib/*.sym + fwk/lib/*.ihx fwk/lib/*.map fwk/lib/*.sym