go to single .html
[fw/sdcc] / Makefile
index 9efd710eedec70eb821df8f0f8949d4b0611ddbc..06df59a909f10143208dfaa7de3d384951918fa1 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -2,6 +2,7 @@
 #
 #
 
+CFLAGS+=-g
 
 SHELL          = /bin/sh
 AUTOCONF       = autoconf
@@ -15,12 +16,12 @@ SDCC_LIBS   = support/cpp
 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
 # ------------------------------------------