summaryrefslogtreecommitdiff
path: root/tests/parser
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-10-11 18:35:19 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-10-11 18:35:19 +0200
commit98ce3d9f82847932f974b10841ccb77b3cba838f (patch)
treeb4987762ea041988d6ba60d5e8c1b08a969bd541 /tests/parser
parentc831e6282726bde7596050be13bc4afbf5d45488 (diff)
Add install target
Diffstat (limited to 'tests/parser')
-rw-r--r--tests/parser/makefile12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/parser/makefile b/tests/parser/makefile
index a43af9a..c64e496 100644
--- a/tests/parser/makefile
+++ b/tests/parser/makefile
@@ -18,7 +18,6 @@ driver := $(out_base)/driver
test := $(out_base)/.test
clean := $(out_base)/.clean
-
# Build.
#
# Import.
@@ -51,38 +50,28 @@ $(cxx_obj) $(cxx_od): $(cutl.l.cpp-options)
$(call include-dep,$(cxx_od))
-
# Alias for default target.
#
-.PHONY: $(out_base)/
$(out_base)/: $(driver)
-
# Test.
#
test_targets := $(addprefix $(out_base)/.test-,$(tests))
-.PHONY: $(test)
$(test): $(test_targets)
-
-
$(test_targets): driver := $(driver)
.PHONY: $(out_base)/.test-%
$(out_base)/.test-%: $(driver) $(src_base)/test-%.cli $(src_base)/test-%.std
$(call message,test $(out_base)/$*,$(driver) $(src_base)/test-$*.cli | diff -u $(src_base)/test-$*.std -)
-
# Clean.
#
-.PHONY: $(clean)
-
$(clean): \
$(driver).o.clean \
$(addsuffix .cxx.clean,$(cxx_obj)) \
$(addsuffix .cxx.clean,$(cxx_od))
-
# Generated .gitignore.
#
ifeq ($(out_base),$(src_base))
@@ -94,7 +83,6 @@ $(clean): $(out_base)/.gitignore.clean
$(call include,$(bld_root)/git/gitignore.make)
endif
-
# How to.
#
$(call include,$(bld_root)/cxx/o-e.make)