projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed default documentation dir to share/doc/sdcc
[fw/sdcc]
/
support
/
regression
/
ports
/
z80
/
spec.mk
diff --git
a/support/regression/ports/z80/spec.mk
b/support/regression/ports/z80/spec.mk
index aafc6f4b6a377c00610e9a213c4dc8a7937123b2..dab2071e7d40e39e147f06503a4b551c912f87bc 100644
(file)
--- a/
support/regression/ports/z80/spec.mk
+++ b/
support/regression/ports/z80/spec.mk
@@
-1,29
+1,22
@@
# Port specification for the z80 port running ontop of the Java based
# 'ConsoleZ80' emulator.
# Port specification for the z80 port running ontop of the Java based
# 'ConsoleZ80' emulator.
-# PENDING: Path to gbdk-lib for stdarg
-GBDK_LIB = ../../../gbdk-lib
RRZ80 = $(SDCC_EXTRA_DIR)/emu/rrz80/rrz80
RRZ80 = $(SDCC_EXTRA_DIR)/emu/rrz80/rrz80
-SDCCFLAGS += -
I$(GBDK_LIB)/include -
-lesspedantic
+SDCCFLAGS += --lesspedantic
EXEEXT = .bin
# Needs parts of gbdk-lib, namely the internal mul/div/mod functions.
EXEEXT = .bin
# Needs parts of gbdk-lib, namely the internal mul/div/mod functions.
-EXTRAS = fwk/lib/testfwk$(OBJEXT) ports/$(PORT)/support$(OBJEXT) \
- $(GBDK_LIB)/libc/asm/z80/mul$(OBJEXT) \
- $(GBDK_LIB)/libc/asm/z80/div$(OBJEXT)
+EXTRAS = fwk/lib/testfwk$(OBJEXT) ports/$(PORT)/support$(OBJEXT)
# Rule to generate a Emulator .bin file from the .ihx linker output.
%$(EXEEXT): %.ihx
../makebin/makebin -s 32768 < $< > $@ # Must be 32768 due to a bug in ConsoleZ80
# Rule to link into .ihx
# Rule to generate a Emulator .bin file from the .ihx linker output.
%$(EXEEXT): %.ihx
../makebin/makebin -s 32768 < $< > $@ # Must be 32768 due to a bug in ConsoleZ80
# Rule to link into .ihx
-%.ihx: %$(OBJEXT) $(EXTRAS)
- ../../bin/link-z80 -n -- -b_CODE=0x200 -b_DATA=0x8000 -j -i $@ $< $(EXTRAS)
-
-%$(OBJEXT): %.c fwk/include/*.h
- $(SDCC) $(SDCCFLAGS) -c $<
+%.ihx: %.c $(EXTRAS)
+ $(SDCC) $(SDCCFLAGS) $< $(EXTRAS)
%$(OBJEXT): %.asm
../../bin/as-z80 -plosgff $@ $<
%$(OBJEXT): %.asm
../../bin/as-z80 -plosgff $@ $<