Update materials for building rsync with mgear.
[mgear/mgear.git] / experiments / cmd-assign-var.mk
CommitLineData
00804b7c
MM
1# It's fine to assign variables after make has snapped deps.
2
3all: foo bar
4
5foo:
6 $(eval MYVAR=value)
7 touch foo
8
9bar:
10 echo "The variable says $(MYVAR)"
11 touch bar