blob: 09f9d29d580fdccd4e52db697238719c75309c8a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# file : tests/makefile
# author : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2009-2011 Code Synthesis Tools CC
# license : MIT; see accompanying LICENSE file
include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
tests := compiler fs 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))
|