1 # Port specification for the gbz80 port.
3 EMU = $(SDCC_EXTRA_DIR)/emu/rrgb/rrgb
5 SDCCFLAGS +=-mgbz80 --lesspedantic -DREENTRANT=
9 # Needs parts of gbdk-lib, namely the internal mul/div/mod functions.
10 EXTRAS = fwk/lib/testfwk$(OBJEXT) ports/$(PORT)/support$(OBJEXT)
12 # Rule to link into .ihx
14 $(SDCC) $(SDCCFLAGS) $< $(EXTRAS) -o $@
17 ../../bin/as-gbz80 -plosgff $@ $<
20 ../../bin/as-gbz80 -plosgff $@ $<
23 $(SDCC) $(SDCCFLAGS) -c $< -o $@
25 # PENDING: Path to sdcc-extra
29 -grep -n FAIL $@ /dev/null || true
32 rm -f ports/$(PORT)/*.lst ports/$(PORT)/*.o ports/$(PORT)/*.sym