1 # Regression test specification for the hc08 target running with uCsim
5 UCHC08C
= $(SDCC_BIN_PATH
)/ucsim_m68hc08
$(EXEEXT
)
7 AS_HC08C
= $(SDCC_BIN_PATH
)/sdas6808
$(EXEEXT
)
10 UCHC08A
= $(UCSIM_DIR
)/m68hc08.src
/ucsim_m68hc08
$(EXEEXT
)
12 UCHC08A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/m68hc08.src
/ucsim_m68hc08
$(EXEEXT
)
13 UCHC08B
= $(top_builddir
)/bin
/ucsim_m68hc08
$(EXEEXT
)
16 EMU
= $(WINE
) $(shell if
[ -f
$(UCHC08A
) ]; then echo
$(UCHC08A
); else echo
$(UCHC08B
); fi
)
18 AS
= $(WINE
) $(top_builddir
)/bin
/sdas6808
$(EXEEXT
)
21 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
22 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/hc08
27 SDCCFLAGS
+= -I
$(top_srcdir
)
30 SDCCFLAGS
+= -mhc08
--less-pedantic
--out-fmt-ihx
36 # otherwise `make` deletes testfwk.rel and `make -j` will fail
37 .PRECIOUS
: $(PORT_CASES_DIR
)/%$(OBJEXT
)
40 EXTRAS
= $(PORT_CASES_DIR
)/testfwk
$(OBJEXT
) $(PORT_CASES_DIR
)/support
$(OBJEXT
)
41 include $(srcdir)/fwk
/lib
/spec.mk