built version of sdcc instead of installed version
git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@3575
4a8a32a2-be11-0410-ad9d-
d568d2c75423
+2004-11-18 Erik Petrich <epetrich AT ivorytower.norman.ok.us>
+
+ * support/regression/ports/ucz80/spec.mk: use include and lib files from
+ built version of sdcc instead of installed version
+
2004-11-11 Maarten Brock <sourceforge.brock AT dse.nl>
* src/mcs51/gen.c (toBoolean): fixed bug 1065458
SDCCFLAGS +=-mz80 --less-pedantic --profile -DREENTRANT=
#SDCCFLAGS +=--less-pedantic -DREENTRANT=reentrant
+LINKFLAGS = --nostdlib
+LINKFLAGS += z80.lib
+LIBDIR = $(SDCC_DIR)/device/lib/build/z80
#OBJEXT = .o
EXEEXT = .ihx
EXTRAS = $(PORTS_DIR)/$(PORT)/testfwk$(OBJEXT) $(PORTS_DIR)/$(PORT)/support$(OBJEXT)
# Rule to link into .ihx
-#%$(EXEEXT): %$(OBJEXT) $(EXTRAS)
-
-%$(EXEEXT): %.c $(EXTRAS)
- $(SDCC) $(SDCCFLAGS) $< $(EXTRAS) -o $@
+%.ihx: %.c $(EXTRAS)
+ $(SDCC) $(SDCCFLAGS) $(LINKFLAGS) -L $(LIBDIR) $(EXTRAS) $< -o $@
%$(OBJEXT): %.asm
$(SDCC_DIR)/bin/as-z80 -plosgff $@ $<