15 lines
335 B
Makefile
15 lines
335 B
Makefile
template-files :=
|
||
|
||
# Create the file $(1) from $(1).in by running config.status (which
|
||
# substitutes all ‘@var@’ variables set by the configure script).
|
||
define instantiate-template
|
||
|
||
clean-files += $(1)
|
||
|
||
endef
|
||
|
||
%.h: %.h.in
|
||
$(trace-gen) ./config.status --quiet --header=$@
|
||
|
||
%: %.in
|
||
$(trace-gen) ./config.status --quiet --file=$@
|