git.annexia.org
/
goals.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Hard code *file tactic.
[goals.git]
/
tests
/
test1.gl
diff --git
a/tests/test1.gl
b/tests/test1.gl
index
afdcc34
..
ec4011f
100644
(file)
--- a/
tests/test1.gl
+++ b/
tests/test1.gl
@@
-2,7
+2,8
@@
goal all = : "file1.o", *file("file2.o")
-"file1.o" : "file1.c" {
- echo file1.c "->" file1.o
- touch file1.o
+goal compile (name) =
+"%name.o" : "%name.c" {
+ echo %< "->" %@
+ touch %@
}