alloca() chokes badly on Borland
[fw/sdcc] / Makefile
index e24d27060ce8dadd0b2cb61912581640672131b7..fe11386e14f05206b1899645aa110e5ba2c3d21a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
 #
 #
 
+CFLAGS+=-g
 
 SHELL          = /bin/sh
 AUTOCONF       = autoconf
@@ -19,8 +20,8 @@ PKGS          = $(SDCC_MISC) $(SDCC_LIBS) $(SDCC_ASLINK) \
                  src device/include device/lib $(SDCC_PACKIHX)
 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
 # ------------------------------------------
@@ -29,15 +30,6 @@ all: checkconf sdcc
 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