From 3fc99a48e14b3f61d7103d93eb7159f3b980a086 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 9 Apr 2016 20:06:06 -0400 Subject: [PATCH] * maintMakefile: Add a rule for storing preprocessor output. --- maintMakefile | 4 ++++ 1 file changed, 4 insertions(+) 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