aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile32
1 files changed, 32 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..fc5718f
--- /dev/null
+++ b/makefile
@@ -0,0 +1,32 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009-2010 Code Synthesis Tools CC
+# license : GNU GPL v2; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make
+
+default := $(out_base)/
+test := $(out_base)/.test
+clean := $(out_base)/.clean
+
+# Build.
+#
+$(default): \
+$(out_base)/tracer/ \
+$(out_base)/common/ \
+$(out_base)/libcommon/
+
+# Test.
+#
+$(test): $(out_base)/tracer/.test $(out_base)/common/.test
+
+# Clean.
+#
+$(clean): \
+$(out_base)/tracer/.clean \
+$(out_base)/common/.clean \
+$(out_base)/libcommon/.clean
+
+$(call import,$(src_base)/tracer/makefile)
+$(call import,$(src_base)/common/makefile)
+$(call import,$(src_base)/libcommon/makefile)