projects
/
fw
/
sdcc
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fixed up generated file
[fw/sdcc]
/
Makefile.common.in
diff --git
a/Makefile.common.in
b/Makefile.common.in
index 0a8a494df21abdbc24837cd1607fc61318e7a0cd..4964a51010788f45400e5e1f38b4efa0410a30d7 100644
(file)
--- a/
Makefile.common.in
+++ b/
Makefile.common.in
@@
-33,14
+33,12
@@
man2dir = $(mandir)/man2
infodir = @infodir@
srcdir = @srcdir@
infodir = @infodir@
srcdir = @srcdir@
+SLIB = $(PRJDIR)/support/Util
+
# Flags
# Flags
-HAVE_LIBGC = @HAVE_LIBGC@
+
DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)
DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@)
-CPPFLAGS = @CPPFLAGS@ -I$(PRJDIR)
-ifeq ($(HAVE_LIBGC),1)
-else
-CPPFLAGS += -I$(PRJDIR)/support
-endif
+CPPFLAGS = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB)
CFLAGS = @CFLAGS@ -Wall
M_OR_MM = @M_OR_MM@
CFLAGS = @CFLAGS@ -Wall
M_OR_MM = @M_OR_MM@
@@
-51,4
+49,6
@@
M_OR_MM = @M_OR_MM@
# Library compilation options
SCC = $(PRJDIR)/src/sdcc
SAS = $(PRJDIR)/as/$(PORT)/as
# 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)