From 8e5abdeeb93ac991bc72f72d9d01ac679e420969 Mon Sep 17 00:00:00 2001 From: Eric Christopher Date: Thu, 20 Oct 2005 19:46:34 +0000 Subject: Allow CFLAGS to be overridden from make. --- rdoff/Makefile.in | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'rdoff') diff --git a/rdoff/Makefile.in b/rdoff/Makefile.in index f2e14f4..d4f0a70 100644 --- a/rdoff/Makefile.in +++ b/rdoff/Makefile.in @@ -17,7 +17,10 @@ bindir = @bindir@ mandir = @mandir@ CC = @CC@ -CFLAGS = @CFLAGS@ @GCCFLAGS@ -I$(srcdir) -I$(top_srcdir) +CFLAGS = @CFLAGS@ +BUILD_CFLAGS = $(CFLAGS) @GCCFLAGS@ @DEFS@ +INTERNAL_CFLAGS = -I$(srcdir) -I$(top_srcdir) +ALL_CFLAGS = $(BUILD_CFLAGS) $(INTERNAL_CFLAGS) LDFLAGS = @LDFLAGS@ INSTALL = @INSTALL@ @@ -38,7 +41,7 @@ PROGRAMS = rdfdump$(X) ldrdf$(X) rdx$(X) rdflib$(X) \ .SUFFIXES: .c .i .s .$(O) .1 .man .c.$(O): - $(CC) -c $(CFLAGS) $< + $(CC) -c $(ALL_CFLAGS) $< all: $(PROGRAMS) -- cgit v1.2.3