X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.common.in;h=52fa00254ed85bdf01c320221fbfbe90f6c70889;hb=d46b4a50e1b8b1819d974533a9012b013090f8fd;hp=97b6a56a537775c9cc18a4185bce1e9bd63701af;hpb=b1298f95e03d153ca2c8b36558701b1552353d5c;p=fw%2Fsdcc diff --git a/Makefile.common.in b/Makefile.common.in index 97b6a56a..52fa0025 100644 --- a/Makefile.common.in +++ b/Makefile.common.in @@ -20,7 +20,7 @@ INSTALL = @INSTALL@ YACC = @YACC@ LEX = @LEX@ AWK = @AWK@ - +STRIP = @STRIP@ prefix = @prefix@ exec_prefix = @exec_prefix@ bindir = @bindir@ @@ -32,13 +32,21 @@ man1dir = $(mandir)/man1 man2dir = $(mandir)/man2 infodir = @infodir@ srcdir = @srcdir@ +docdir = @datadir@/doc/sdcc + +# Modules to enable/disable +OPT_ENABLE_UCSIM = @OPT_ENABLE_UCSIM@ +OPT_ENABLE_DEVICE_LIB_BUILD = @OPT_ENABLE_DEVICE_LIB_BUILD@ +OPT_ENABLE_PACKIHX = @OPT_ENABLE_PACKIHX@ SLIB = $(PRJDIR)/support/Util +transform = @program_transform_name@ + # Flags DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@) -CPPFLAGS = @CPPFLAGS@ -I. -I$(PRJDIR) -I$(SLIB) +CPPFLAGS = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB) CFLAGS = @CFLAGS@ -Wall M_OR_MM = @M_OR_MM@ @@ -49,4 +57,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)