1 # Regression test specification for the s08 target running with uCsim
7 UCHC08C
= $(SDCC_BIN_PATH
)/ucsim_m68hc08
$(EXEEXT
)
9 AS_HC08C
= $(SDCC_BIN_PATH
)/sdas6808
$(EXEEXT
)
12 UCHC08A
= $(UCSIM_DIR
)/m68hc08.src
/ucsim_m68hc08
$(EXEEXT
)
14 UCHC08A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/m68hc08.src
/ucsim_m68hc08
$(EXEEXT
)
15 UCHC08B
= $(top_builddir
)/bin
/ucsim_m68hc08
$(EXEEXT
)
18 EMU
= $(WINE
) $(shell if
[ -f
$(UCHC08A
) ]; then echo
$(UCHC08A
); else echo
$(UCHC08B
); fi
)
20 AS
= $(WINE
) $(top_builddir
)/bin
/sdas6808
$(EXEEXT
)
23 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
24 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/s08
29 SDCCFLAGS
+= -I
$(top_srcdir
)
32 SDCCFLAGS
+= -ms08
--less-pedantic
--out-fmt-ihx
38 # otherwise `make` deletes testfwk.rel and `make -j` will fail
39 .PRECIOUS
: $(PORT_CASES_DIR
)/%$(OBJEXT
)
42 EXTRAS
= $(PORT_CASES_DIR
)/testfwk
$(OBJEXT
) $(PORT_CASES_DIR
)/support
$(OBJEXT
)
43 include $(srcdir)/fwk
/lib
/spec.mk