Matt McCutchen's Web Site
/
mgear
/
mgear.git
/ blame
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(incremental) |
history
|
HEAD
Improve target metadata comments and implement $(bar@checked).
[mgear/mgear.git]
/
demo
/
Makefile.plain
Commit
Line
Data
00804b7c
MM
1
# Very simple Mage example
2
3
.SECONDARY:
4
5
foo.x.h:
6
7
cmd-xgrep = grep 'X' '$<' >'$@'
8
%.x: %
9
$(cmd-xgrep)
10
11
cmd-addheader = echo 'Header:' | cat - '$<' >'$@'
12
%.h: %
13
$(cmd-addheader)
14