Turned off dumpall
[fw/sdcc] / support / regression / ports / z80 / spec.mk
index 133394950bd57910eca111cb5f438b195bc96497..469deda36c4528d4b669f500627260768115327c 100644 (file)
@@ -3,7 +3,7 @@
 
 RRZ80 = $(SDCC_EXTRA_DIR)/emu/rrz80/rrz80
 
-SDCCFLAGS += --lesspedantic --profile
+SDCCFLAGS += --lesspedantic --profile -DREENTRANT= -DGENERIC=
 
 EXEEXT = .bin
 
@@ -24,6 +24,9 @@ EXTRAS = fwk/lib/testfwk$(OBJEXT) ports/$(PORT)/support$(OBJEXT)
 %$(OBJEXT): %.s
        ../../bin/as-z80 -plosgff $@ $<
 
+%$(OBJEXT): %.c
+       $(SDCC) $(SDCCFLAGS) -c $<
+
 # PENDING: Path to sdcc-extra
 %.out: %$(EXEEXT)
        mkdir -p `dirname $@`