aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-22 15:40:15 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-22 15:40:15 +0200
commit6c620880eb15473a6414901f4764daf06dc4372c (patch)
tree7449ad31c3937c8909431d31f40a490034ba525b /tests/cxx/tree
parent3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 (diff)
Get rid of unnecessary .PHONY declarations
Diffstat (limited to 'tests/cxx/tree')
-rw-r--r--tests/cxx/tree/binary/cdr/makefile5
-rw-r--r--tests/cxx/tree/binary/makefile2
-rw-r--r--tests/cxx/tree/binary/polymorphic/makefile5
-rw-r--r--tests/cxx/tree/binary/xdr/makefile5
-rw-r--r--tests/cxx/tree/built-in/makefile5
-rw-r--r--tests/cxx/tree/chameleon/makefile5
-rw-r--r--tests/cxx/tree/comparison/makefile5
-rw-r--r--tests/cxx/tree/compilation/makefile5
-rw-r--r--tests/cxx/tree/complex/ctor/makefile5
-rw-r--r--tests/cxx/tree/complex/makefile2
-rw-r--r--tests/cxx/tree/containment/makefile5
-rw-r--r--tests/cxx/tree/default/makefile5
-rw-r--r--tests/cxx/tree/encoding/char/lcp/makefile5
-rw-r--r--tests/cxx/tree/encoding/char/makefile4
-rw-r--r--tests/cxx/tree/encoding/char/utf-8/makefile5
-rw-r--r--tests/cxx/tree/encoding/makefile4
-rw-r--r--tests/cxx/tree/encoding/wchar/makefile5
-rw-r--r--tests/cxx/tree/enumeration/ctor/makefile5
-rw-r--r--tests/cxx/tree/enumeration/inheritance/makefile5
-rw-r--r--tests/cxx/tree/enumeration/makefile2
-rw-r--r--tests/cxx/tree/float/makefile5
-rw-r--r--tests/cxx/tree/list/ctor/makefile5
-rw-r--r--tests/cxx/tree/list/makefile2
-rw-r--r--tests/cxx/tree/makefile2
-rw-r--r--tests/cxx/tree/name-clash/inheritance/makefile5
-rw-r--r--tests/cxx/tree/name-clash/makefile2
-rw-r--r--tests/cxx/tree/naming/camel/makefile5
-rw-r--r--tests/cxx/tree/naming/java/makefile5
-rw-r--r--tests/cxx/tree/naming/knr/makefile5
-rw-r--r--tests/cxx/tree/naming/makefile2
-rw-r--r--tests/cxx/tree/polymorphism/comparison/makefile5
-rw-r--r--tests/cxx/tree/polymorphism/makefile2
-rw-r--r--tests/cxx/tree/polymorphism/ostream/makefile5
-rw-r--r--tests/cxx/tree/polymorphism/same-type/makefile5
-rw-r--r--tests/cxx/tree/prefix/makefile5
-rw-r--r--tests/cxx/tree/test-template/makefile5
-rw-r--r--tests/cxx/tree/types-only/makefile5
-rw-r--r--tests/cxx/tree/union/ctor/makefile5
-rw-r--r--tests/cxx/tree/union/makefile2
-rw-r--r--tests/cxx/tree/wildcard/makefile5
40 files changed, 0 insertions, 171 deletions
diff --git a/tests/cxx/tree/binary/cdr/makefile b/tests/cxx/tree/binary/cdr/makefile
index 9f34852..ee3305a 100644
--- a/tests/cxx/tree/binary/cdr/makefile
+++ b/tests/cxx/tree/binary/cdr/makefile
@@ -45,22 +45,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml
$(call message,test $$1,$$1 $(src_base)/test.xml,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/binary/makefile b/tests/cxx/tree/binary/makefile
index 9d57c0c..35f4135 100644
--- a/tests/cxx/tree/binary/makefile
+++ b/tests/cxx/tree/binary/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/binary/polymorphic/makefile b/tests/cxx/tree/binary/polymorphic/makefile
index bcd1f96..e46eb44 100644
--- a/tests/cxx/tree/binary/polymorphic/makefile
+++ b/tests/cxx/tree/binary/polymorphic/makefile
@@ -45,22 +45,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml
$(call message,test $$1,$$1 $(src_base)/test.xml,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/binary/xdr/makefile b/tests/cxx/tree/binary/xdr/makefile
index 4a2e0e2..da36f94 100644
--- a/tests/cxx/tree/binary/xdr/makefile
+++ b/tests/cxx/tree/binary/xdr/makefile
@@ -40,22 +40,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml
$(call message,test $$1,$$1 $(src_base)/test.xml,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/built-in/makefile b/tests/cxx/tree/built-in/makefile
index 023d583..f2996ce 100644
--- a/tests/cxx/tree/built-in/makefile
+++ b/tests/cxx/tree/built-in/makefile
@@ -51,14 +51,11 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
# We need to cd to src_base in order to have the schema in the working
# directory.
#
@@ -71,8 +68,6 @@ $(src_base)/attributes.xml $(src_base)/inherited.xml
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/chameleon/makefile b/tests/cxx/tree/chameleon/makefile
index 4b379b2..06a0555 100644
--- a/tests/cxx/tree/chameleon/makefile
+++ b/tests/cxx/tree/chameleon/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/comparison/makefile b/tests/cxx/tree/comparison/makefile
index 79466b0..7eb2a08 100644
--- a/tests/cxx/tree/comparison/makefile
+++ b/tests/cxx/tree/comparison/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml
$(call message,test $$1,$$1 $(src_base)/test.xml,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/compilation/makefile b/tests/cxx/tree/compilation/makefile
index a4f768a..bdecca3 100644
--- a/tests/cxx/tree/compilation/makefile
+++ b/tests/cxx/tree/compilation/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/complex/ctor/makefile b/tests/cxx/tree/complex/ctor/makefile
index e8537c5..29fedb9 100644
--- a/tests/cxx/tree/complex/ctor/makefile
+++ b/tests/cxx/tree/complex/ctor/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/complex/makefile b/tests/cxx/tree/complex/makefile
index ed6e5de..15de60c 100644
--- a/tests/cxx/tree/complex/makefile
+++ b/tests/cxx/tree/complex/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/containment/makefile b/tests/cxx/tree/containment/makefile
index b9c5384..e44f82e 100644
--- a/tests/cxx/tree/containment/makefile
+++ b/tests/cxx/tree/containment/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/default/makefile b/tests/cxx/tree/default/makefile
index b683121..431e708 100644
--- a/tests/cxx/tree/default/makefile
+++ b/tests/cxx/tree/default/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/encoding/char/lcp/makefile b/tests/cxx/tree/encoding/char/lcp/makefile
index 61c6562..9520a42 100644
--- a/tests/cxx/tree/encoding/char/lcp/makefile
+++ b/tests/cxx/tree/encoding/char/lcp/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/test.std
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/encoding/char/makefile b/tests/cxx/tree/encoding/char/makefile
index c69fc44..78b6e7a 100644
--- a/tests/cxx/tree/encoding/char/makefile
+++ b/tests/cxx/tree/encoding/char/makefile
@@ -5,16 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../../build/bootstrap.make
-
tests := lcp utf-8
-
default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/encoding/char/utf-8/makefile b/tests/cxx/tree/encoding/char/utf-8/makefile
index 240ba88..9fbbc7c 100644
--- a/tests/cxx/tree/encoding/char/utf-8/makefile
+++ b/tests/cxx/tree/encoding/char/utf-8/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/test.std
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/encoding/makefile b/tests/cxx/tree/encoding/makefile
index 5e0803e..ca3abba 100644
--- a/tests/cxx/tree/encoding/makefile
+++ b/tests/cxx/tree/encoding/makefile
@@ -5,16 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make
-
tests := char wchar
-
default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/encoding/wchar/makefile b/tests/cxx/tree/encoding/wchar/makefile
index eb9efe7..35976df 100644
--- a/tests/cxx/tree/encoding/wchar/makefile
+++ b/tests/cxx/tree/encoding/wchar/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/test.std
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/enumeration/ctor/makefile b/tests/cxx/tree/enumeration/ctor/makefile
index 90a05a2..7a861a2 100644
--- a/tests/cxx/tree/enumeration/ctor/makefile
+++ b/tests/cxx/tree/enumeration/ctor/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/enumeration/inheritance/makefile b/tests/cxx/tree/enumeration/inheritance/makefile
index 46bdc3e..3d0c038 100644
--- a/tests/cxx/tree/enumeration/inheritance/makefile
+++ b/tests/cxx/tree/enumeration/inheritance/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/enumeration/makefile b/tests/cxx/tree/enumeration/makefile
index 87cab57..2eb0114 100644
--- a/tests/cxx/tree/enumeration/makefile
+++ b/tests/cxx/tree/enumeration/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/float/makefile b/tests/cxx/tree/float/makefile
index ed6f717..565ff73 100644
--- a/tests/cxx/tree/float/makefile
+++ b/tests/cxx/tree/float/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/test.std
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/test.std -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/list/ctor/makefile b/tests/cxx/tree/list/ctor/makefile
index 8c91851..e570ff4 100644
--- a/tests/cxx/tree/list/ctor/makefile
+++ b/tests/cxx/tree/list/ctor/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/list/makefile b/tests/cxx/tree/list/makefile
index 9d03a72..67ce1b6 100644
--- a/tests/cxx/tree/list/makefile
+++ b/tests/cxx/tree/list/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/makefile b/tests/cxx/tree/makefile
index 2d41e54..f1b7e1a 100644
--- a/tests/cxx/tree/makefile
+++ b/tests/cxx/tree/makefile
@@ -34,8 +34,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/name-clash/inheritance/makefile b/tests/cxx/tree/name-clash/inheritance/makefile
index 36bdf5b..eaa1657 100644
--- a/tests/cxx/tree/name-clash/inheritance/makefile
+++ b/tests/cxx/tree/name-clash/inheritance/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/name-clash/makefile b/tests/cxx/tree/name-clash/makefile
index 5ba6f26..4adeb0d 100644
--- a/tests/cxx/tree/name-clash/makefile
+++ b/tests/cxx/tree/name-clash/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/naming/camel/makefile b/tests/cxx/tree/naming/camel/makefile
index 0f9f812..3a27131 100644
--- a/tests/cxx/tree/naming/camel/makefile
+++ b/tests/cxx/tree/naming/camel/makefile
@@ -49,22 +49,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/naming/java/makefile b/tests/cxx/tree/naming/java/makefile
index 1081877..91f122e 100644
--- a/tests/cxx/tree/naming/java/makefile
+++ b/tests/cxx/tree/naming/java/makefile
@@ -49,22 +49,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/naming/knr/makefile b/tests/cxx/tree/naming/knr/makefile
index b1a5a93..c810d02 100644
--- a/tests/cxx/tree/naming/knr/makefile
+++ b/tests/cxx/tree/naming/knr/makefile
@@ -49,22 +49,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/naming/makefile b/tests/cxx/tree/naming/makefile
index 8a70665..5e04d29 100644
--- a/tests/cxx/tree/naming/makefile
+++ b/tests/cxx/tree/naming/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/polymorphism/comparison/makefile b/tests/cxx/tree/polymorphism/comparison/makefile
index 0faf6c3..0b09a34 100644
--- a/tests/cxx/tree/polymorphism/comparison/makefile
+++ b/tests/cxx/tree/polymorphism/comparison/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml
$(call message,test $$1,$$1 $(src_base)/test.xml,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/polymorphism/makefile b/tests/cxx/tree/polymorphism/makefile
index b9d8bd6..6b9a293 100644
--- a/tests/cxx/tree/polymorphism/makefile
+++ b/tests/cxx/tree/polymorphism/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/polymorphism/ostream/makefile b/tests/cxx/tree/polymorphism/ostream/makefile
index e407267..c68a2c4 100644
--- a/tests/cxx/tree/polymorphism/ostream/makefile
+++ b/tests/cxx/tree/polymorphism/ostream/makefile
@@ -41,14 +41,11 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
@@ -56,8 +53,6 @@ $(test): $(driver) $(src_base)/test.xml $(src_base)/output
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/polymorphism/same-type/makefile b/tests/cxx/tree/polymorphism/same-type/makefile
index 853e6aa..22bf1cf 100644
--- a/tests/cxx/tree/polymorphism/same-type/makefile
+++ b/tests/cxx/tree/polymorphism/same-type/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/prefix/makefile b/tests/cxx/tree/prefix/makefile
index 654632e..eb11f93 100644
--- a/tests/cxx/tree/prefix/makefile
+++ b/tests/cxx/tree/prefix/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/test-template/makefile b/tests/cxx/tree/test-template/makefile
index 518bc90..b88c823 100644
--- a/tests/cxx/tree/test-template/makefile
+++ b/tests/cxx/tree/test-template/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/types-only/makefile b/tests/cxx/tree/types-only/makefile
index 725e4c8..240ca50 100644
--- a/tests/cxx/tree/types-only/makefile
+++ b/tests/cxx/tree/types-only/makefile
@@ -41,22 +41,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/union/ctor/makefile b/tests/cxx/tree/union/ctor/makefile
index bef734c..a4de2b7 100644
--- a/tests/cxx/tree/union/ctor/makefile
+++ b/tests/cxx/tree/union/ctor/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver)
$(call message,test $$1,$$1,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/tree/union/makefile b/tests/cxx/tree/union/makefile
index 4a2d045..e8fea6a 100644
--- a/tests/cxx/tree/union/makefile
+++ b/tests/cxx/tree/union/makefile
@@ -11,8 +11,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests)))
$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests)))
$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests)))
diff --git a/tests/cxx/tree/wildcard/makefile b/tests/cxx/tree/wildcard/makefile
index 8ca738f..40e2b63 100644
--- a/tests/cxx/tree/wildcard/makefile
+++ b/tests/cxx/tree/wildcard/makefile
@@ -42,22 +42,17 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Test.
#
-.PHONY: $(test)
-
$(test): driver := $(driver)
$(test): $(driver) $(src_base)/test.xml $(src_base)/output
$(call message,test $$1,$$1 $(src_base)/test.xml | diff -u $(src_base)/output -,$(driver))
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \