#
#
+
SHELL = /bin/sh
AUTOCONF = autoconf
PRJDIR = .
+srcdir = .
+include $(srcdir)/Makefile.common
+
SDCC_MISC = debugger/mcs51 sim/ucsim
SDCC_LIBS = support/cpp
SDCC_ASLINK = as/mcs51 as link
src device/include $(SDCC_PACKIHX)
PORTS = mcs51 z80
-srcdir = .
# 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