mirror of
https://git.savannah.gnu.org/git/make.git
synced 2025-01-27 09:43:41 +00:00
* maintMakefile: Add a rule for storing preprocessor output.
This commit is contained in:
parent
87a5f98d24
commit
3fc99a48e1
1 changed files with 4 additions and 0 deletions
|
@ -39,6 +39,10 @@ MTEMPLATES = Makefile.DOS SMakefile
|
||||||
# These are built as a side-effect of the dist rule
|
# These are built as a side-effect of the dist rule
|
||||||
#all-am: $(TEMPLATES) $(MTEMPLATES) build.sh.in
|
#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.
|
# General rule for turning a .template into a regular file.
|
||||||
#
|
#
|
||||||
$(TEMPLATES) : % : %.template Makefile
|
$(TEMPLATES) : % : %.template Makefile
|
||||||
|
|
Loading…
Reference in a new issue