summaryrefslogtreecommitdiff
path: root/support/regression/ports/host/spec.mk
diff options
context:
space:
mode:
Diffstat (limited to 'support/regression/ports/host/spec.mk')
-rw-r--r--support/regression/ports/host/spec.mk38
1 files changed, 0 insertions, 38 deletions
diff --git a/support/regression/ports/host/spec.mk b/support/regression/ports/host/spec.mk
deleted file mode 100644
index 1f25528..0000000
--- a/support/regression/ports/host/spec.mk
+++ /dev/null
@@ -1,38 +0,0 @@
-# Port specification for compiling on the host machines version of gcc
-SDCC = gcc
-SDCCFLAGS = -pipe -ggdb -g -Og --std=c99 $(CPPFLAGS) -DPORT_HOST=1 -DREENTRANT= -I$(top_builddir) -I$(top_srcdir)
-SDLDFLAGS =
-# disable all warnings:
-SDCCFLAGS+= -w
-# enable all warnings:
-#SDCCFLAGS+= -Wall -Wno-parentheses
-
-BINEXT = .bin
-OBJEXT = .o
-INC_DIR = .
-
-# otherwise `make` deletes testfwk.o and `make -j` will fail
-.PRECIOUS: $(PORT_CASES_DIR)/%$(OBJEXT)
-
-# Required extras
-EXTRAS = $(PORT_CASES_DIR)/testfwk$(OBJEXT) $(PORT_CASES_DIR)/support$(OBJEXT)
-include $(srcdir)/fwk/lib/spec.mk
-
-%.out: %$(BINEXT)
- mkdir -p $(dir $@)
- -$< > $@
- -grep -n FAIL $@ /dev/null || true
-
-%$(BINEXT): %$(OBJEXT) $(EXTRAS) $(FWKLIB)
- $(SDCC) $(SDCCFLAGS) $(SDLDFLAGS) -o $@ $< $(EXTRAS) $(FWKLIB) -lm
-
-%$(OBJEXT): %.c
- $(SDCC) $(SDCCFLAGS) -c $< -o $@
-
-$(PORT_CASES_DIR)/%$(OBJEXT): $(PORTS_DIR)/$(PORT)/%.c
- $(SDCC) $(SDCCFLAGS) -c $< -o $@
-
-$(PORT_CASES_DIR)/%$(OBJEXT): $(srcdir)/fwk/lib/%.c
- $(SDCC) $(SDCCFLAGS) -c $< -o $@
-
-_clean: