# Uncomment this to show only errors and the summary.
# Comment this out for debugging.
-#.SILENT:
+.SILENT:
# All original tests live in TESTS_DIR and below
TESTS_DIR = tests
# Each directory under ports/ is used as a port name. Each port is tested.
# 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 xa51 mcs51 mcs51-large mcs51-stack-auto ds390 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*)))
+ALL_PORTS = $(filter-out CVS xa51 ucz80 gbz80,$(notdir $(wildcard $(PORTS_DIR)/*)))
# These ports will be cleaned with 'make clean'
CLEAN_PORTS = $(filter-out CVS,$(notdir $(wildcard $(PORTS_DIR)/*)))
# Helper rule for testing the mcs51 port only
test-mcs51:
$(MAKE) test-port PORT=mcs51
+
test-mcs51-large:
$(MAKE) test-port PORT=mcs51-large
+
test-mcs51-stack-auto:
$(MAKE) make-library test-port PORT=mcs51-stack-auto
test-ucz80:
$(MAKE) test-port PORT=ucz80
+# Helper rule for testing the hc08 port only(use ucSim simulator)
+test-hc08:
+ $(MAKE) test-port PORT=hc08
+
# Helper rule for testing the xa51 port only(use ucSim simulator)
test-xa51:
$(MAKE) test-port PORT=xa51
SDCC_DIR = ../..
SDCC_EXTRA_DIR = ../../../sdcc-extra
-
+INC_DIR = $(SDCC_DIR)/device/include
# Defaults. Override in spec.mk if required.
# Path to SDCC
include $(PORTS_DIR)/$(PORT)/spec.mk
endif
-SDCCFLAGS += -Ifwk/include -Itests
+SDCCFLAGS += -Ifwk/include -Itests -I$(INC_DIR)
# List of intermediate files to keep. Pretty much keep everything as
# disk space is free.