mirror of
https://github.com/postgres/postgres.git
synced 2025-05-02 11:44:50 +03:00
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.
This commit is contained in:
parent
b870f8008d
commit
6becfa280c
@ -1,5 +1,5 @@
|
|||||||
# -*-makefile-*-
|
# -*-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,
|
# All PostgreSQL makefiles include this file and use the variables it sets,
|
||||||
@ -468,6 +468,9 @@ TAS = @TAS@
|
|||||||
#
|
#
|
||||||
# Global targets and rules
|
# Global targets and rules
|
||||||
|
|
||||||
|
%.i: %.c
|
||||||
|
$(CPP) $(CPPFLAGS) -o $@ $<
|
||||||
|
|
||||||
%.gz: %
|
%.gz: %
|
||||||
$(GZIP) -f --best $<
|
$(GZIP) -f --best $<
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user