From 98ce3d9f82847932f974b10841ccb77b3cba838f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 11 Oct 2009 18:35:19 +0200 Subject: Add install target --- tests/lexer/makefile | 11 ----------- tests/makefile | 2 -- tests/parser/makefile | 12 ------------ 3 files changed, 25 deletions(-) (limited to 'tests') diff --git a/tests/lexer/makefile b/tests/lexer/makefile index 7af0e62..5b5df9a 100644 --- a/tests/lexer/makefile +++ b/tests/lexer/makefile @@ -33,38 +33,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)) @@ -76,7 +66,6 @@ $(clean): $(out_base)/.gitignore.clean $(call include,$(bld_root)/git/gitignore.make) endif - # How to. # $(call include,$(bld_root)/cxx/o-e.make) diff --git a/tests/makefile b/tests/makefile index 7e54132..422b93b 100644 --- a/tests/makefile +++ b/tests/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/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) -- cgit v1.1