projects
/
users
/
simon
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3c06fa4
)
Add an implicit rule %.c -> %.i for running the C preprocessor.
author
Peter Eisentraut
<
[email protected]
>
Thu, 19 Feb 2009 10:32:30 +0000
(10:32 +0000)
committer
Peter Eisentraut
<
[email protected]
>
Thu, 19 Feb 2009 10:32:30 +0000
(10:32 +0000)
I occasionally use this for debugging, and it seems wasteful to have to
reinvent this all the time.
src/Makefile.global.in
patch
|
blob
|
blame
|
history
diff --git
a/src/Makefile.global.in
b/src/Makefile.global.in
index ff27dd903d510e00645ae7c9d493d48fd2e9c4b8..829ce7218df923fc92a0b7f2389e8b5347ea7ade 100644
(file)
--- a/
src/Makefile.global.in
+++ b/
src/Makefile.global.in
@@
-468,6
+468,9
@@
TAS = @TAS@
#
# Global targets and rules
+%.i: %.c
+ $(CPP) $(CPPFLAGS) -o $@ $<
+
%.gz: %
$(GZIP) -f --best $<