mirror of
https://github.com/mirror/make.git
synced 2025-01-26 20:30:36 +08:00
* maintMakefile: Add a rule for storing preprocessor output.
This commit is contained in:
parent
87a5f98d24
commit
3fc99a48e1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user