Here's what I have so far related to the Mage build tool.
[mgear/mgear.git] / experiments / cmd-assign-var.mk
1 # It's fine to assign variables after make has snapped deps.
2
3 all: foo bar
4
5 foo:
6         $(eval MYVAR=value)
7         touch foo
8
9 bar:
10         echo "The variable says $(MYVAR)"
11         touch bar