summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.hgignore4
-rw-r--r--test/garbage/Makefile8
2 files changed, 5 insertions, 7 deletions
diff --git a/.hgignore b/.hgignore
index 9b858c97b..323c81e81 100644
--- a/.hgignore
+++ b/.hgignore
@@ -32,9 +32,7 @@ src/pkg/runtime/runtime.acid.*
test/pass.out
test/run.out
test/times.out
-test/garbage/parser
-test/garbage/peano
-test/garbage/tree
+test/garbage/*.out
syntax:regexp
^pkg/
diff --git a/test/garbage/Makefile b/test/garbage/Makefile
index 0574a6f49..0a3ae8e55 100644
--- a/test/garbage/Makefile
+++ b/test/garbage/Makefile
@@ -9,16 +9,16 @@ ALL=\
peano\
tree\
-all: $(ALL)
+all: $(addsuffix .out, $(ALL))
%.$O: %.go
$(GC) $*.go
-%: %.$O
+%.out: %.$O
$(LD) -o $@ $*.$O
-%.bench: %
- ./$*
+%.bench: %.out
+ ./$*.out
bench: $(addsuffix .bench, $(ALL))