1 # Regression test specification for the tlcs90 target running with uCsim
5 UCTLCS90C
= $(SDCC_BIN_PATH
)/ucsim_tlcs
$(EXEEXT
)
7 AS_TLCS90C
= $(SDCC_BIN_PATH
)/sdastlcs90
$(EXEEXT
)
10 UCTLCS90A
= $(UCSIM_DIR
)/tlcs.src
/ucsim_tlcs
$(EXEEXT
)
12 UCTLCS90A
= $(top_builddir
)/sim
/ucsim
/src
/sims
/tlcs.src
/ucsim_tlcs
$(EXEEXT
)
13 UCTLCS90B
= $(top_builddir
)/bin
/ucsim_tlcs
$(EXEEXT
)
16 EMU
= $(WINE
) $(shell if
[ -f
$(UCTLCS90A
) ]; then echo
$(UCTLCS90A
); else echo
$(UCTLCS90B
); fi
)
18 AS
= $(WINE
) $(top_builddir
)/bin
/sdastlcs90
$(EXEEXT
)
21 SDCCFLAGS
+= --nostdinc
-I
$(top_srcdir
)
22 LINKFLAGS
+= --nostdlib
-L
$(top_builddir
)/device
/lib
/build
/tlcs90
27 SDCCFLAGS
+= -I
$(top_srcdir
)
30 SDCCFLAGS
+= -mtlcs90
--less-pedantic
--out-fmt-ihx
31 LINKFLAGS
+= tlcs90.lib
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