diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2009-02-19 10:32:30 +0000 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2009-02-19 10:32:30 +0000 |
commit | 6becfa280cddc5156a49efbe35db541839f927fb (patch) | |
tree | 9a857cf82bda36bd4f45d6e653fed1df79207745 /src | |
parent | b870f8008dbc519e43026e3ff955797afdade494 (diff) | |
download | postgresql-6becfa280cddc5156a49efbe35db541839f927fb.tar.gz postgresql-6becfa280cddc5156a49efbe35db541839f927fb.zip |
Add an implicit rule %.c -> %.i for running the C preprocessor.
I occasionally use this for debugging, and it seems wasteful to have to
reinvent this all the time.
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.global.in | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 10325498f95..1facf7c315e 100644 --- a/src/Makefile.global.in +++ b/src/Makefile.global.in @@ -1,5 +1,5 @@ # -*-makefile-*- -# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.252 2009/01/22 22:27:13 petere Exp $ +# $PostgreSQL: pgsql/src/Makefile.global.in,v 1.253 2009/02/19 10:32:30 petere Exp $ #------------------------------------------------------------------------------ # All PostgreSQL makefiles include this file and use the variables it sets, @@ -468,6 +468,9 @@ TAS = @TAS@ # # Global targets and rules +%.i: %.c + $(CPP) $(CPPFLAGS) -o $@ $< + %.gz: % $(GZIP) -f --best $< |