aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/union
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/union
parent3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 (diff)
Get rid of unnecessary .PHONY declarations
Diffstat (limited to 'tests/cxx/tree/union')
-rw-r--r--tests/cxx/tree/union/ctor/makefile5
-rw-r--r--tests/cxx/tree/union/makefile2
2 files changed, 0 insertions, 7 deletions
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)))