diff options
Diffstat (limited to 'libcutl/tests/makefile')
-rw-r--r-- | libcutl/tests/makefile | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/libcutl/tests/makefile b/libcutl/tests/makefile new file mode 100644 index 0000000..3735414 --- /dev/null +++ b/libcutl/tests/makefile @@ -0,0 +1,26 @@ +# file : tests/makefile +# copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make + +tests := compiler container fs re shared-ptr + +default := $(out_base)/ +test := $(out_base)/.test +dist := $(out_base)/.dist +clean := $(out_base)/.clean + +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) +$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) + +$(dist): export dirs := +$(dist): #$(addprefix $(out_base)/,$(addsuffix /.dist,$(tests))) + $(call meta-automake) + +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) + +$(call include,$(bld_root)/dist.make) +$(call include,$(bld_root)/meta/automake.make) + +$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile)) |