X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=Makefile.common.in;fp=Makefile.common.in;h=405c8bb026ae9fdd6e5cf9003545a9a00e361bdf;hb=8b7d5201d0f582e0f03ebed689d384b505de6312;hp=8dd978b554602541794989222af2ae7b227b0652;hpb=72b7e8dadd92279596c0f56649775fc056acf449;p=fw%2Fsdcc diff --git a/Makefile.common.in b/Makefile.common.in index 8dd978b5..405c8bb0 100644 --- a/Makefile.common.in +++ b/Makefile.common.in @@ -46,13 +46,13 @@ transform = @program_transform_name@ # Flags -DEFS = $(subs -DHAVE_CONFIG_H,,@DEFS@) -CPPFLAGS = $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB) -CFLAGS = -Wall @CFLAGS@ -LDFLAGS = @LDFLAGS@ +DEFS += $(subs -DHAVE_CONFIG_H,,@DEFS@) +CPPFLAGS += $(INCLUDEFLAGS) -I. -I$(PRJDIR) -I$(SLIB) +CFLAGS += -Wall @CFLAGS@ +LDFLAGS += @LDFLAGS@ M_OR_MM = @M_OR_MM@ -EXTRALIBS = @LIBS@ +EXTRALIBS += @LIBS@ # Shared settings between all the sub Makefiles # Done here so that we don't have to start a Make from the top levelport