]> git.gag.com Git - fw/sdcc/blobdiff - support/regression/ports/mcs51-stack-auto/spec.mk
* support/regression/Makefile.in,
[fw/sdcc] / support / regression / ports / mcs51-stack-auto / spec.mk
index 9025a9b4eabf4650da66fbf65cdbda6035bf560c..4727dccdf641099c3fff5dbdebacd9d6adf5b123 100644 (file)
@@ -1,13 +1,9 @@
-# Port specification for the mcs51 port running with uCsim
+# Port specification for the mcs51-stack-auto port running with uCsim
 #
 # model small stack-auto
 
 SDCCFLAGS +=--stack-auto
 
-include $(PORTS_DIR)/mcs51/spec.mk
-
-# use C sources from mcs51
-$(PORT_CASES_DIR)/%$(OBJEXT): $(PORTS_DIR)/mcs51/%.c
-       $(SDCC) $(SDCCFLAGS) -c $< -o $@
+include $(PORTS_DIR)/mcs51-common/spec.mk
 
 LIBDIR = $(top_builddir)/device/lib/build/small-stack-auto