Fixed up generated file
[fw/sdcc] / Makefile.common.in
index 73ef6bec513c0911675064559b29653ca6a07aef..4964a51010788f45400e5e1f38b4efa0410a30d7 100644 (file)
@@ -33,9 +33,12 @@ man2dir         = $(mandir)/man2
 infodir         = @infodir@
 srcdir          = @srcdir@
 
+SLIB                   = $(PRJDIR)/support/Util
+
 # Flags
+
 DEFS            = $(subs -DHAVE_CONFIG_H,,@DEFS@)
-CPPFLAGS        = @CPPFLAGS@ -I$(PRJDIR) -I$(PRJDIR)/support
+CPPFLAGS        = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB)
 CFLAGS          = @CFLAGS@ -Wall
 M_OR_MM         = @M_OR_MM@
 
@@ -46,4 +49,6 @@ M_OR_MM         = @M_OR_MM@
 # Library compilation options
 SCC = $(PRJDIR)/src/sdcc
 SAS = $(PRJDIR)/as/$(PORT)/as
-CLEANSPEC = *.lst *.asm *.sym *~ *.cdb
+CLEANSPEC = *.lst *.asm *.sym *~ *.cdb *.dep *.rul
+
+OBJ = $(SOURCES:.c=.o)