diff options
author | Eric Christopher <echristo@apple.com> | 2005-10-20 19:46:34 +0000 |
---|---|---|
committer | Eric Christopher <echristo@apple.com> | 2005-10-20 19:46:34 +0000 |
commit | 8e5abdeeb93ac991bc72f72d9d01ac679e420969 (patch) | |
tree | 8a5818a7dd756bdb47fe3dd951aa2a91e930d150 /rdoff | |
parent | a485fbdd37d213aa81bbfc31ff411264d322252e (diff) | |
download | nasm-8e5abdeeb93ac991bc72f72d9d01ac679e420969.tar.gz nasm-8e5abdeeb93ac991bc72f72d9d01ac679e420969.tar.bz2 nasm-8e5abdeeb93ac991bc72f72d9d01ac679e420969.zip |
Allow CFLAGS to be overridden from make.
Diffstat (limited to 'rdoff')
-rw-r--r-- | rdoff/Makefile.in | 7 |
1 files changed, 5 insertions, 2 deletions
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) |