X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=tests%2Ftest1.gl;h=85335ceeaded2997411422d1e32e146a06164726;hb=d06b73832126c575927af40f3ebf574e8621b2a8;hp=afdcc34b6e7b5818be1a3702d5f3021941934924;hpb=b14ff66c953e6a73e9ac2fe8d42dd68e92e58f53;p=goals.git diff --git a/tests/test1.gl b/tests/test1.gl index afdcc34..85335ce 100644 --- a/tests/test1.gl +++ b/tests/test1.gl @@ -1,8 +1,13 @@ # Test. +include "url.gl" + +let foo = "bar" + 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 %@ }