aboutsummaryrefslogtreecommitdiff
path: root/tests/cxx/tree/polymorphism
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/polymorphism
parent3c853bc264719437bcb2807d75ff5e9f9a3ea4f8 (diff)
Get rid of unnecessary .PHONY declarations
Diffstat (limited to 'tests/cxx/tree/polymorphism')
-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
4 files changed, 0 insertions, 17 deletions
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)) \