1 # Regression test specification for the stm8 target running with uCsim
7 UCSTM8C
= $(SDCC_BIN_PATH
)/ucsim_stm8
$(EXEEXT
)
9 AS_STM8C
= $(SDCC_BIN_PATH
)/sdasstm8
$(EXEEXT
)
12 UCSTM8A
= $(UCSIM_DIR
)/stm8.src
/ucsim_stm8
$(EXEEXT
)
14 UCSTM8A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/stm8.src
/ucsim_stm8
$(EXEEXT
)
15 UCSTM8B
= $(top_builddir
)/bin
/ucsim_stm8
$(EXEEXT
)
18 EMU
= $(WINE
) $(shell if
[ -f
$(UCSTM8A
) ]; then echo
$(UCSTM8A
); else echo
$(UCSTM8B
); fi
)
20 AS
= $(WINE
) $(top_builddir
)/bin
/sdasstm8
$(EXEEXT
)
23 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
24 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/stm8
29 SDCCFLAGS
+= -I
$(top_srcdir
)
32 SDCCFLAGS
+= -mstm8
--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