#
#
+CFLAGS+=-g
SHELL = /bin/sh
AUTOCONF = autoconf
SDCC_ASLINK = as/mcs51 as link
SDCC_PACKIHX = packihx
-PKGS = $(SDCC_MISC) $(SDCC_LIBS) $(SDCC_ASLINK) \
- src device/include device/lib $(SDCC_PACKIHX)
+PKGS = src $(SDCC_ASLINK) $(SDCC_PACKIHX) $(SDCC_MISC) \
+ $(SDCC_LIBS) device/include device/lib
PKGS_TINI = $(SDCC_LIBS) $(SDCC_ASLINK) \
src device/include $(SDCC_PACKIHX)
-PORTS = mcs51 z80
-
+PORTS = $(shell cat ports.build)
+ALLPORTS = $(shell cat ports.all)
# Compiling entire program or any subproject
# ------------------------------------------
tini: checkconf sdcc-tini
sdcc-libs:
-ifeq ($(DISABLE_GC),1)
- : skip boehm library when disabled by hand.
-else
-ifeq ($(CROSS_LIBGC),1)
- $(MAKE) -C support/gc -f Makefile.cross
-else
- $(MAKE) -C support/gc
-endif
-endif
for lib in $(SDCC_LIBS); do $(MAKE) -C $$lib; done
sdcc-cc: sdcc-libs