Matt McCutchen's Web Site
/
mgear
/
mgear.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
More experimentation with obfuscation. Wondering why it is slow.
[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