X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=support%2Fregression%2Fports%2Fhc08%2Fspec.mk;h=9d7818d0cf7d0e16cbe99cc792f78d27e94166b6;hb=d25410272593de279e84cf891961c535b8c7fc70;hp=022ed70600ad0d67dc8d38d110c3fb3fd6ff7c40;hpb=cb5b8c2bf51d32a070ffb9bab264220d8cba8b24;p=fw%2Fsdcc diff --git a/support/regression/ports/hc08/spec.mk b/support/regression/ports/hc08/spec.mk index 022ed706..9d7818d0 100644 --- a/support/regression/ports/hc08/spec.mk +++ b/support/regression/ports/hc08/spec.mk @@ -1,13 +1,13 @@ # path to uCsim -UCHC08A = $(top_builddir)sim/ucsim/hc08.src/shc08 -UCHC08B = $(top_builddir)bin/shc08 +UCHC08A = $(top_builddir)/sim/ucsim/hc08.src/shc08 +UCHC08B = $(top_builddir)/bin/shc08 UCHC08 = $(shell if [ -f $(UCHC08A) ]; then echo $(UCHC08A); else echo $(UCHC08B); fi) SDCCFLAGS +=-mhc08 --nostdinc --less-pedantic --out-fmt-ihx -DREENTRANT=reentrant -I$(top_srcdir) LINKFLAGS = --nostdlib LINKFLAGS += hc08.lib -LIBDIR = $(top_builddir)device/lib/build/hc08 +LIBDIR = $(top_builddir)/device/lib/build/hc08 OBJEXT = .rel EXEEXT = .ihx @@ -21,7 +21,7 @@ EXTRAS = $(PORT_CASES_DIR)/testfwk$(OBJEXT) $(PORT_CASES_DIR)/support$(OBJEXT) $(SDCC) $(SDCCFLAGS) $(LINKFLAGS) -L $(LIBDIR) $(EXTRAS) $< -o $@ %$(OBJEXT): %.asm - $(top_builddir)bin/as-hc08 -plosgff $< + $(top_builddir)/bin/as-hc08 -plosgff $< %$(OBJEXT): %.c $(SDCC) $(SDCCFLAGS) -c $< -o $@