Matt McCutchen's Web Site
/
mgear
/
mgear.git
/ blame_incremental
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blob
|
blame
(non-incremental) |
history
|
HEAD
Rewrite the Mage basics, temporarily removing the dependency-logging command
[mgear/mgear.git]
/
demo
/
Makefile.plain
This page requires JavaScript to run. Use
this page
instead.
... / ...
Commit
Line
Data
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