aboutsummaryrefslogtreecommitdiff
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
parent3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 (diff)
Get rid of unnecessary .PHONY declarations
-rw-r--r--examples/cxx/parser/generated/makefile3
-rw-r--r--examples/cxx/parser/hello/makefile3
-rw-r--r--examples/cxx/parser/library/makefile3
-rw-r--r--examples/cxx/parser/mixed/makefile3
-rw-r--r--examples/cxx/parser/mixin/makefile3
-rw-r--r--examples/cxx/parser/multiroot/makefile3
-rw-r--r--examples/cxx/parser/performance/makefile3
-rw-r--r--examples/cxx/parser/polymorphism/makefile3
-rw-r--r--examples/cxx/parser/polyroot/makefile3
-rw-r--r--examples/cxx/parser/wildcard/makefile3
-rw-r--r--examples/cxx/tree/binary/boost/makefile3
-rw-r--r--examples/cxx/tree/binary/cdr/makefile3
-rw-r--r--examples/cxx/tree/binary/xdr/makefile3
-rw-r--r--examples/cxx/tree/caching/makefile3
-rw-r--r--examples/cxx/tree/custom/calendar/makefile3
-rw-r--r--examples/cxx/tree/custom/comments/makefile3
-rw-r--r--examples/cxx/tree/custom/contacts/makefile3
-rw-r--r--examples/cxx/tree/custom/double/makefile3
-rw-r--r--examples/cxx/tree/custom/taxonomy/makefile3
-rw-r--r--examples/cxx/tree/custom/wildcard/makefile3
-rw-r--r--examples/cxx/tree/dbxml/makefile3
-rw-r--r--examples/cxx/tree/hello/makefile3
-rw-r--r--examples/cxx/tree/library/makefile3
-rw-r--r--examples/cxx/tree/messaging/makefile3
-rw-r--r--examples/cxx/tree/mixed/makefile3
-rw-r--r--examples/cxx/tree/multiroot/makefile3
-rw-r--r--examples/cxx/tree/performance/makefile3
-rw-r--r--examples/cxx/tree/polymorphism/makefile3
-rw-r--r--examples/cxx/tree/streaming/makefile3
-rw-r--r--examples/cxx/tree/wildcard/makefile3
-rw-r--r--examples/cxx/tree/xpath/makefile3
-rw-r--r--makefile2
-rw-r--r--tests/cxx/makefile2
-rw-r--r--tests/cxx/parser/built-in/makefile5
-rw-r--r--tests/cxx/parser/enumeration/makefile5
-rw-r--r--tests/cxx/parser/generated-impl/makefile5
-rw-r--r--tests/cxx/parser/list/makefile5
-rw-r--r--tests/cxx/parser/makefile4
-rw-r--r--tests/cxx/parser/name-clash/inheritance/makefile5
-rw-r--r--tests/cxx/parser/polymorphism/makefile4
-rw-r--r--tests/cxx/parser/polymorphism/same-type/makefile5
-rw-r--r--tests/cxx/parser/recursive/makefile5
-rw-r--r--tests/cxx/parser/test-template/makefile5
-rw-r--r--tests/cxx/parser/union/makefile5
-rw-r--r--tests/cxx/parser/validation/all/makefile6
-rw-r--r--tests/cxx/parser/validation/any/makefile6
-rw-r--r--tests/cxx/parser/validation/attribute/makefile6
-rw-r--r--tests/cxx/parser/validation/built-in/any-type/makefile6
-rw-r--r--tests/cxx/parser/validation/built-in/binary/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/boolean/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/byte/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/date-time/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/float/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/int/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/integer/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/long/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/makefile2
-rw-r--r--tests/cxx/parser/validation/built-in/qname/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/short/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/string/makefile5
-rw-r--r--tests/cxx/parser/validation/built-in/uri/makefile5
-rw-r--r--tests/cxx/parser/validation/choice/makefile5
-rw-r--r--tests/cxx/parser/validation/makefile4
-rw-r--r--tests/cxx/parser/validation/restriction/makefile6
-rw-r--r--tests/cxx/parser/validation/sequence/makefile6
-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
-rw-r--r--tests/makefile2
-rw-r--r--xsd/makefile1
107 files changed, 0 insertions, 431 deletions
diff --git a/examples/cxx/parser/generated/makefile b/examples/cxx/parser/generated/makefile
index 2c8d571..c1dcd7f 100644
--- a/examples/cxx/parser/generated/makefile
+++ b/examples/cxx/parser/generated/makefile
@@ -48,7 +48,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -71,8 +70,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/hello/makefile b/examples/cxx/parser/hello/makefile
index 2ead3fa..a854098 100644
--- a/examples/cxx/parser/hello/makefile
+++ b/examples/cxx/parser/hello/makefile
@@ -41,7 +41,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -64,8 +63,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/library/makefile b/examples/cxx/parser/library/makefile
index bc4ab73..1b66cdd 100644
--- a/examples/cxx/parser/library/makefile
+++ b/examples/cxx/parser/library/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -69,8 +68,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/mixed/makefile b/examples/cxx/parser/mixed/makefile
index 4d1fb0c..6f41519 100644
--- a/examples/cxx/parser/mixed/makefile
+++ b/examples/cxx/parser/mixed/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -68,8 +67,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/mixin/makefile b/examples/cxx/parser/mixin/makefile
index bb3927c..9ea9900 100644
--- a/examples/cxx/parser/mixin/makefile
+++ b/examples/cxx/parser/mixin/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -68,8 +67,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/multiroot/makefile b/examples/cxx/parser/multiroot/makefile
index 02b9f57..869bd2f 100644
--- a/examples/cxx/parser/multiroot/makefile
+++ b/examples/cxx/parser/multiroot/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -71,8 +70,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/performance/makefile b/examples/cxx/parser/performance/makefile
index 15938c9..a63bf36 100644
--- a/examples/cxx/parser/performance/makefile
+++ b/examples/cxx/parser/performance/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -71,8 +70,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/polymorphism/makefile b/examples/cxx/parser/polymorphism/makefile
index 954518b..8856710 100644
--- a/examples/cxx/parser/polymorphism/makefile
+++ b/examples/cxx/parser/polymorphism/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -67,8 +66,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/polyroot/makefile b/examples/cxx/parser/polyroot/makefile
index 007e1b9..a1ce052 100644
--- a/examples/cxx/parser/polyroot/makefile
+++ b/examples/cxx/parser/polyroot/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -70,8 +69,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/parser/wildcard/makefile b/examples/cxx/parser/wildcard/makefile
index 8587bfc..03d9671 100644
--- a/examples/cxx/parser/wildcard/makefile
+++ b/examples/cxx/parser/wildcard/makefile
@@ -41,7 +41,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -65,8 +64,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/binary/boost/makefile b/examples/cxx/tree/binary/boost/makefile
index 0da560b..0cfd3ad 100644
--- a/examples/cxx/tree/binary/boost/makefile
+++ b/examples/cxx/tree/binary/boost/makefile
@@ -53,7 +53,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -79,8 +78,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/binary/cdr/makefile b/examples/cxx/tree/binary/cdr/makefile
index e1cd456..8b7ffc2 100644
--- a/examples/cxx/tree/binary/cdr/makefile
+++ b/examples/cxx/tree/binary/cdr/makefile
@@ -49,7 +49,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -72,8 +71,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/binary/xdr/makefile b/examples/cxx/tree/binary/xdr/makefile
index b517dcc..8a78304 100644
--- a/examples/cxx/tree/binary/xdr/makefile
+++ b/examples/cxx/tree/binary/xdr/makefile
@@ -41,7 +41,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -64,8 +63,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/caching/makefile b/examples/cxx/tree/caching/makefile
index 891f383..0c5e29b 100644
--- a/examples/cxx/tree/caching/makefile
+++ b/examples/cxx/tree/caching/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -66,8 +65,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/custom/calendar/makefile b/examples/cxx/tree/custom/calendar/makefile
index ada22c0..9b77e96 100644
--- a/examples/cxx/tree/custom/calendar/makefile
+++ b/examples/cxx/tree/custom/calendar/makefile
@@ -64,7 +64,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -89,8 +88,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/custom/comments/makefile b/examples/cxx/tree/custom/comments/makefile
index d79e78c..28f3f69 100644
--- a/examples/cxx/tree/custom/comments/makefile
+++ b/examples/cxx/tree/custom/comments/makefile
@@ -56,7 +56,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -83,8 +82,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/custom/contacts/makefile b/examples/cxx/tree/custom/contacts/makefile
index 8483f42..c7e0856 100644
--- a/examples/cxx/tree/custom/contacts/makefile
+++ b/examples/cxx/tree/custom/contacts/makefile
@@ -50,7 +50,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -75,8 +74,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/custom/double/makefile b/examples/cxx/tree/custom/double/makefile
index 0e1ed1d..550b40f 100644
--- a/examples/cxx/tree/custom/double/makefile
+++ b/examples/cxx/tree/custom/double/makefile
@@ -51,7 +51,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -75,8 +74,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/custom/taxonomy/makefile b/examples/cxx/tree/custom/taxonomy/makefile
index 26e27cf..ef3b39a 100644
--- a/examples/cxx/tree/custom/taxonomy/makefile
+++ b/examples/cxx/tree/custom/taxonomy/makefile
@@ -55,7 +55,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -82,8 +81,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/custom/wildcard/makefile b/examples/cxx/tree/custom/wildcard/makefile
index a813d27..4334132 100644
--- a/examples/cxx/tree/custom/wildcard/makefile
+++ b/examples/cxx/tree/custom/wildcard/makefile
@@ -52,7 +52,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -78,8 +77,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/dbxml/makefile b/examples/cxx/tree/dbxml/makefile
index d3c176a..12e216c 100644
--- a/examples/cxx/tree/dbxml/makefile
+++ b/examples/cxx/tree/dbxml/makefile
@@ -48,7 +48,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -71,8 +70,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/hello/makefile b/examples/cxx/tree/hello/makefile
index 6d3a11b..65e60ba 100644
--- a/examples/cxx/tree/hello/makefile
+++ b/examples/cxx/tree/hello/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -66,8 +65,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/library/makefile b/examples/cxx/tree/library/makefile
index b683f45..7ff86ba 100644
--- a/examples/cxx/tree/library/makefile
+++ b/examples/cxx/tree/library/makefile
@@ -43,7 +43,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -66,8 +65,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/messaging/makefile b/examples/cxx/tree/messaging/makefile
index 40f036b..31bf56b 100644
--- a/examples/cxx/tree/messaging/makefile
+++ b/examples/cxx/tree/messaging/makefile
@@ -45,7 +45,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -75,8 +74,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/mixed/makefile b/examples/cxx/tree/mixed/makefile
index fa1f1df..bb9129a 100644
--- a/examples/cxx/tree/mixed/makefile
+++ b/examples/cxx/tree/mixed/makefile
@@ -43,7 +43,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -66,8 +65,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/multiroot/makefile b/examples/cxx/tree/multiroot/makefile
index 12a2744..6949947 100644
--- a/examples/cxx/tree/multiroot/makefile
+++ b/examples/cxx/tree/multiroot/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -69,8 +68,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/performance/makefile b/examples/cxx/tree/performance/makefile
index 6024180..fdc380f 100644
--- a/examples/cxx/tree/performance/makefile
+++ b/examples/cxx/tree/performance/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -72,8 +71,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/polymorphism/makefile b/examples/cxx/tree/polymorphism/makefile
index 86fd232..dab8e43 100644
--- a/examples/cxx/tree/polymorphism/makefile
+++ b/examples/cxx/tree/polymorphism/makefile
@@ -44,7 +44,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -68,8 +67,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/streaming/makefile b/examples/cxx/tree/streaming/makefile
index 3a501e3..ddac169 100644
--- a/examples/cxx/tree/streaming/makefile
+++ b/examples/cxx/tree/streaming/makefile
@@ -43,7 +43,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -66,8 +65,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/wildcard/makefile b/examples/cxx/tree/wildcard/makefile
index 9386314..153d689 100644
--- a/examples/cxx/tree/wildcard/makefile
+++ b/examples/cxx/tree/wildcard/makefile
@@ -43,7 +43,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -66,8 +65,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/examples/cxx/tree/xpath/makefile b/examples/cxx/tree/xpath/makefile
index 22362c5..353a6a6 100644
--- a/examples/cxx/tree/xpath/makefile
+++ b/examples/cxx/tree/xpath/makefile
@@ -48,7 +48,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
# Dist.
@@ -74,8 +73,6 @@ $(dist-win): $(dist-common)
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/makefile b/makefile
index 701c953..523dc6c 100644
--- a/makefile
+++ b/makefile
@@ -13,8 +13,6 @@ dist-win := $(out_base)/.dist-win
clean := $(out_base)/.clean
cleandoc := $(out_base)/.cleandoc
-.PHONY: $(default) $(test) $(install) $(clean)
-
$(default): $(out_base)/xsd/ \
$(out_base)/tests/ \
$(out_base)/examples/ \
diff --git a/tests/cxx/makefile b/tests/cxx/makefile
index 8d4cbd5..8349d13 100644
--- a/tests/cxx/makefile
+++ b/tests/cxx/makefile
@@ -9,8 +9,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(out_base)/parser/ $(out_base)/tree/
$(test): $(out_base)/parser/.test $(out_base)/tree/.test
$(clean): $(out_base)/parser/.clean $(out_base)/tree/.clean
diff --git a/tests/cxx/parser/built-in/makefile b/tests/cxx/parser/built-in/makefile
index 1f6b86c..d2422d1 100644
--- a/tests/cxx/parser/built-in/makefile
+++ b/tests/cxx/parser/built-in/makefile
@@ -38,22 +38,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/parser/enumeration/makefile b/tests/cxx/parser/enumeration/makefile
index d448a55..8ff1aef 100644
--- a/tests/cxx/parser/enumeration/makefile
+++ b/tests/cxx/parser/enumeration/makefile
@@ -39,22 +39,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/parser/generated-impl/makefile b/tests/cxx/parser/generated-impl/makefile
index f1db7ed..d968e98 100644
--- a/tests/cxx/parser/generated-impl/makefile
+++ b/tests/cxx/parser/generated-impl/makefile
@@ -46,22 +46,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/parser/list/makefile b/tests/cxx/parser/list/makefile
index 84c24a4..48e6826 100644
--- a/tests/cxx/parser/list/makefile
+++ b/tests/cxx/parser/list/makefile
@@ -38,22 +38,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/parser/makefile b/tests/cxx/parser/makefile
index 955be44..dec968c 100644
--- a/tests/cxx/parser/makefile
+++ b/tests/cxx/parser/makefile
@@ -5,18 +5,14 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../../build/bootstrap.make
-
tests := built-in enumeration generated-impl list recursive \
name-clash/inheritance polymorphism test-template validation \
union
-
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/parser/name-clash/inheritance/makefile b/tests/cxx/parser/name-clash/inheritance/makefile
index 16f737e..6674a8b 100644
--- a/tests/cxx/parser/name-clash/inheritance/makefile
+++ b/tests/cxx/parser/name-clash/inheritance/makefile
@@ -39,22 +39,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/parser/polymorphism/makefile b/tests/cxx/parser/polymorphism/makefile
index a3c4f3e..f22c152 100644
--- a/tests/cxx/parser/polymorphism/makefile
+++ b/tests/cxx/parser/polymorphism/makefile
@@ -5,16 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make
-
tests := same-type
-
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/parser/polymorphism/same-type/makefile b/tests/cxx/parser/polymorphism/same-type/makefile
index ff4183d..bf627ab 100644
--- a/tests/cxx/parser/polymorphism/same-type/makefile
+++ b/tests/cxx/parser/polymorphism/same-type/makefile
@@ -39,22 +39,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/parser/recursive/makefile b/tests/cxx/parser/recursive/makefile
index 976a1b3..4d7574d 100644
--- a/tests/cxx/parser/recursive/makefile
+++ b/tests/cxx/parser/recursive/makefile
@@ -39,22 +39,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/parser/test-template/makefile b/tests/cxx/parser/test-template/makefile
index 5047b10..a0ab9e1 100644
--- a/tests/cxx/parser/test-template/makefile
+++ b/tests/cxx/parser/test-template/makefile
@@ -38,22 +38,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/parser/union/makefile b/tests/cxx/parser/union/makefile
index 538d4c1..0771e04 100644
--- a/tests/cxx/parser/union/makefile
+++ b/tests/cxx/parser/union/makefile
@@ -38,22 +38,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/parser/validation/all/makefile b/tests/cxx/parser/validation/all/makefile
index 1e1b33c..324cc61 100644
--- a/tests/cxx/parser/validation/all/makefile
+++ b/tests/cxx/parser/validation/all/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,10 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/parser/validation/any/makefile b/tests/cxx/parser/validation/any/makefile
index 19fc057..8e66e39 100644
--- a/tests/cxx/parser/validation/any/makefile
+++ b/tests/cxx/parser/validation/any/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,10 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/parser/validation/attribute/makefile b/tests/cxx/parser/validation/attribute/makefile
index d5a83a3..4141c45 100644
--- a/tests/cxx/parser/validation/attribute/makefile
+++ b/tests/cxx/parser/validation/attribute/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,10 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/parser/validation/built-in/any-type/makefile b/tests/cxx/parser/validation/built-in/any-type/makefile
index 1c93b76..f0269fb 100644
--- a/tests/cxx/parser/validation/built-in/any-type/makefile
+++ b/tests/cxx/parser/validation/built-in/any-type/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,10 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/parser/validation/built-in/binary/makefile b/tests/cxx/parser/validation/built-in/binary/makefile
index 27ddeef..bab972d 100644
--- a/tests/cxx/parser/validation/built-in/binary/makefile
+++ b/tests/cxx/parser/validation/built-in/binary/makefile
@@ -32,22 +32,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/parser/validation/built-in/boolean/makefile b/tests/cxx/parser/validation/built-in/boolean/makefile
index bf16586..ac9e9a7 100644
--- a/tests/cxx/parser/validation/built-in/boolean/makefile
+++ b/tests/cxx/parser/validation/built-in/boolean/makefile
@@ -32,22 +32,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/parser/validation/built-in/byte/makefile b/tests/cxx/parser/validation/built-in/byte/makefile
index efe7f01..ab96263 100644
--- a/tests/cxx/parser/validation/built-in/byte/makefile
+++ b/tests/cxx/parser/validation/built-in/byte/makefile
@@ -32,22 +32,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/parser/validation/built-in/date-time/makefile b/tests/cxx/parser/validation/built-in/date-time/makefile
index 12eb7ba..7dc3ddf 100644
--- a/tests/cxx/parser/validation/built-in/date-time/makefile
+++ b/tests/cxx/parser/validation/built-in/date-time/makefile
@@ -32,22 +32,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/parser/validation/built-in/float/makefile b/tests/cxx/parser/validation/built-in/float/makefile
index 1a39e04..705b67b 100644
--- a/tests/cxx/parser/validation/built-in/float/makefile
+++ b/tests/cxx/parser/validation/built-in/float/makefile
@@ -32,22 +32,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/parser/validation/built-in/int/makefile b/tests/cxx/parser/validation/built-in/int/makefile
index c626a9c..6114808 100644
--- a/tests/cxx/parser/validation/built-in/int/makefile
+++ b/tests/cxx/parser/validation/built-in/int/makefile
@@ -32,22 +32,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/parser/validation/built-in/integer/makefile b/tests/cxx/parser/validation/built-in/integer/makefile
index 8d52dee..0ed55bb 100644
--- a/tests/cxx/parser/validation/built-in/integer/makefile
+++ b/tests/cxx/parser/validation/built-in/integer/makefile
@@ -32,22 +32,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/parser/validation/built-in/long/makefile b/tests/cxx/parser/validation/built-in/long/makefile
index b9289b1..bbf4499 100644
--- a/tests/cxx/parser/validation/built-in/long/makefile
+++ b/tests/cxx/parser/validation/built-in/long/makefile
@@ -32,22 +32,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/parser/validation/built-in/makefile b/tests/cxx/parser/validation/built-in/makefile
index e0728b0..45a2435 100644
--- a/tests/cxx/parser/validation/built-in/makefile
+++ b/tests/cxx/parser/validation/built-in/makefile
@@ -12,8 +12,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/parser/validation/built-in/qname/makefile b/tests/cxx/parser/validation/built-in/qname/makefile
index b541239..a71e7aa 100644
--- a/tests/cxx/parser/validation/built-in/qname/makefile
+++ b/tests/cxx/parser/validation/built-in/qname/makefile
@@ -32,22 +32,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/parser/validation/built-in/short/makefile b/tests/cxx/parser/validation/built-in/short/makefile
index 0457f13..00f1bf4 100644
--- a/tests/cxx/parser/validation/built-in/short/makefile
+++ b/tests/cxx/parser/validation/built-in/short/makefile
@@ -32,22 +32,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/parser/validation/built-in/string/makefile b/tests/cxx/parser/validation/built-in/string/makefile
index 46b7b5f..edcef8c 100644
--- a/tests/cxx/parser/validation/built-in/string/makefile
+++ b/tests/cxx/parser/validation/built-in/string/makefile
@@ -32,22 +32,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/parser/validation/built-in/uri/makefile b/tests/cxx/parser/validation/built-in/uri/makefile
index 1a28808..0ed0eee 100644
--- a/tests/cxx/parser/validation/built-in/uri/makefile
+++ b/tests/cxx/parser/validation/built-in/uri/makefile
@@ -32,22 +32,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/parser/validation/choice/makefile b/tests/cxx/parser/validation/choice/makefile
index d808ee2..ba8c89a 100644
--- a/tests/cxx/parser/validation/choice/makefile
+++ b/tests/cxx/parser/validation/choice/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,9 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -62,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/parser/validation/makefile b/tests/cxx/parser/validation/makefile
index 9000e4c..e2e23e0 100644
--- a/tests/cxx/parser/validation/makefile
+++ b/tests/cxx/parser/validation/makefile
@@ -5,16 +5,12 @@
include $(dir $(lastword $(MAKEFILE_LIST)))../../../../build/bootstrap.make
-
tests := all any attribute built-in choice restriction sequence
-
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/parser/validation/restriction/makefile b/tests/cxx/parser/validation/restriction/makefile
index c7914c2..2a52880 100644
--- a/tests/cxx/parser/validation/restriction/makefile
+++ b/tests/cxx/parser/validation/restriction/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,10 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
diff --git a/tests/cxx/parser/validation/sequence/makefile b/tests/cxx/parser/validation/sequence/makefile
index 7040d98..32a2781 100644
--- a/tests/cxx/parser/validation/sequence/makefile
+++ b/tests/cxx/parser/validation/sequence/makefile
@@ -42,7 +42,6 @@ $(call include-dep,$(dep))
# Convenience alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
@@ -50,10 +49,7 @@ $(out_base)/: $(driver)
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
@@ -63,8 +59,6 @@ $(out_base)/.test-%: $(driver) $(src_base)/test.xsd $(src_base)/test-%.xml $(src
# Clean.
#
-.PHONY: $(clean)
-
$(clean): $(driver).o.clean \
$(addsuffix .cxx.clean,$(obj)) \
$(addsuffix .cxx.clean,$(dep)) \
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)) \
diff --git a/tests/makefile b/tests/makefile
index f966c5c..67f6e37 100644
--- a/tests/makefile
+++ b/tests/makefile
@@ -9,8 +9,6 @@ default := $(out_base)/
test := $(out_base)/.test
clean := $(out_base)/.clean
-.PHONY: $(default) $(test) $(clean)
-
$(default): $(out_base)/cxx/
$(test): $(out_base)/cxx/.test
$(clean): $(out_base)/cxx/.clean
diff --git a/xsd/makefile b/xsd/makefile
index 45da111..dc33d6d 100644
--- a/xsd/makefile
+++ b/xsd/makefile
@@ -106,7 +106,6 @@ $(call include-dep,$(cxx_od))
# Alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(xsd)
# Install