Here's what I have so far related to the Mage build tool.
[mgear/mgear.git] / experiments / se-prereq-ts.mk
1 # References to target-specific variables are recognized in a prerequisite list
2 # undergoing second expansion.
3
4 .SECONDEXPANSION:
5
6 bar.g: target = $(@:.g=)
7
8 define nl
9
10
11 endef
12
13 thetext := hi umm$(nl)there
14
15 bar.g: $$(info $$(target)) foo
16         # $(target)