Merge of the izt changes.
[fw/sdcc] / src / Makefile.in
index ff320931886016891984cef4bfaa1fdfdd411721..c4a1a0265ffb5514d00de081e7fe9b187a814486 100644 (file)
@@ -8,15 +8,19 @@ include $(PRJDIR)/Makefile.common
 
 USE_ALT_LEX    = 0
 
-PORTS          = mcs51 z80 avr ds390
+PORTS          = mcs51 z80 avr ds390 pic izt
 PORT_LIBS      = $(PORTS:%=%/port.a)
 
+ifeq ($(DISABLE_GC),1)
+LIBS           = -lm @LIBS@
+else
 LIBS           = -lgc -lm @LIBS@
 ifeq ($(HAVE_LIBGC), 1)
 else
 LIBDIRS                = -L$(PRJDIR)/support/gc
 LIBGC          = $(PRJDIR)/support/gc/libgc.a
 endif
+endif
 
 #CFLAGS          += -Werror