diff options
author | Paul Smith <psmith@gnu.org> | 2016-04-09 20:06:06 -0400 |
---|---|---|
committer | Paul Smith <psmith@gnu.org> | 2016-04-09 20:06:46 -0400 |
commit | 3fc99a48e14b3f61d7103d93eb7159f3b980a086 (patch) | |
tree | 146ed1979a3782dc4e5871ae53b0c01176f8fd15 | |
parent | 87a5f98d248fe63fe6e3e53ee3e1b1b1fa5e49dc (diff) | |
download | make-git-3fc99a48e14b3f61d7103d93eb7159f3b980a086.tar.gz |
* maintMakefile: Add a rule for storing preprocessor output.
-rw-r--r-- | maintMakefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/maintMakefile b/maintMakefile index 0720669a..aead0e8b 100644 --- a/maintMakefile +++ b/maintMakefile @@ -39,6 +39,10 @@ MTEMPLATES = Makefile.DOS SMakefile # These are built as a side-effect of the dist rule #all-am: $(TEMPLATES) $(MTEMPLATES) build.sh.in +# Create preprocessor output files--GCC specific! +%.i : %.c + $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) -E -dD -o $@ $< + # General rule for turning a .template into a regular file. # $(TEMPLATES) : % : %.template Makefile |