* src/SDCCmain.c (linkEdit): fixed buffer overflow for gbz80
[fw/sdcc] / support / regression / ports / host / spec.mk
index 077e1df57e67ad508a44e550a7b6cd11fdbf85b2..103dedcef0feedec29eb933f72100dbbb7991a60 100644 (file)
@@ -3,6 +3,10 @@ SDCC = $(shell ( sh -c "gcc --version" 2>&1 ) > /dev/null  && echo gcc || echo c
 SDCCFLAGS = -DPORT_HOST=1 -Wall -fsigned-char -DREENTRANT=
 
 EXEEXT = .bin
+OBJEXT = .o
+
+# otherwise `make` deletes it and `make -j`will fail
+.PRECIOUS: ports/$(PORT)/testfwk$(OBJEXT)
 
 # Required extras
 EXTRAS = ports/$(PORT)/testfwk$(OBJEXT) ports/$(PORT)/support$(OBJEXT)