* maintMakefile: Add a rule for storing preprocessor output.

This commit is contained in:
Paul Smith 2016-04-09 20:06:06 -04:00
parent 87a5f98d24
commit 3fc99a48e1

View File

@ -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