From 6becfa280cddc5156a49efbe35db541839f927fb Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Thu, 19 Feb 2009 10:32:30 +0000 Subject: [PATCH] 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. --- src/Makefile.global.in | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Makefile.global.in b/src/Makefile.global.in index 10325498f9..1facf7c315 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 $< -- 2.40.0