fixed bug #720667
[fw/sdcc] / Makefile
index c1a785f92a5600a87068a1410f44f32e26a8dd09..6d3cd33e0bdbfc28121bc12fc0fc92a3b29b44f7 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -6,12 +6,14 @@ SHELL         = /bin/sh
 
 PRJDIR         = .
 
+include $(PRJDIR)/Makefile.common
+
 SDCC_MISC      = debugger/mcs51 sim/ucsim
-SDCC_LIBS      = support/cpp support/cpp2
+SDCC_LIBS      = support/cpp2 support/makebin
 SDCC_DOC        = doc
 
 # Parts that are not normally compiled but need to be cleaned
-SDCC_EXTRA      = support/regression support/makebin
+SDCC_EXTRA      = support/regression
 
 SDCC_ASLINK    = as/mcs51 as link
 SDCC_PACKIHX   = packihx
@@ -61,7 +63,7 @@ sdcc-misc:
 sdcc-packihx:
        $(MAKE) -C $(SDCC_PACKIHX)
 
-sdcc-device:
+sdcc-device: sdcc-cc sdcc-aslink
        $(MAKE) -C device/include
        $(MAKE) -C device/lib