From: Paul Smith Date: Sun, 10 Apr 2016 00:06:06 +0000 (-0400) Subject: * maintMakefile: Add a rule for storing preprocessor output. X-Git-Tag: 4.1.90~4 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3fc99a48e14b3f61d7103d93eb7159f3b980a086;p=thirdparty%2Fmake.git * maintMakefile: Add a rule for storing preprocessor output. --- 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