X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.common.in;h=ba4ab723974bd796829d9f9b35026c8d66742752;hb=a935c26bf201705b353d7262328bd6e35c1b9816;hp=73ef6bec513c0911675064559b29653ca6a07aef;hpb=a3d1759c37fa399c45561eda23f696dd25cd5b62;p=fw%2Fsdcc diff --git a/Makefile.common.in b/Makefile.common.in index 73ef6bec..ba4ab723 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@ @@ -33,9 +33,14 @@ man2dir = $(mandir)/man2 infodir = @infodir@ srcdir = @srcdir@ +SLIB = $(PRJDIR)/support/Util + +transform = @program_transform_name@ + # 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 +51,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)