aboutsummaryrefslogtreecommitdiff
path: root/makefile
blob: c85dd77f4b6c35626d61a0050fcbb90536a2ea08 (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
28
29
30
31
32
33
34
35
36
# file      : makefile
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
# license   : MIT; see accompanying LICENSE file

include $(dir $(lastword $(MAKEFILE_LIST)))/build-0.3/bootstrap.make

default  := $(out_base)/

.PHONY: $(default) test install clean

# Build.
#
$(default): $(out_base)/cli/cli/

# Test.
#
test: $(out_base)/libcutl/.test $(out_base)/cli/.test

# Install.
#
install: $(out_base)/cli/.install

# Clean.
#
clean: $(out_base)/libcutl/.clean $(out_base)/cli/.clean

src_root := $(src_base)/libcutl
scf_root := $(src_root)/build
out_root := $(src_root)
$(call import,$(src_base)/libcutl/makefile)

src_root := $(src_base)/cli
scf_root := $(src_root)/build
out_root := $(src_root)
$(call import,$(src_base)/cli/makefile)