aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2010-05-07 08:59:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2010-05-07 08:59:59 +0200
commitf729a68a498359fc42504676612fd9b03cbdeb77 (patch)
treeaaee4b2f01cb43cad68a03b06c4a6f6a517a72f6 /makefile
parenta08195dc2300c11a58e307628c4dd41ff7a6dab6 (diff)
Add top-level makefile
Diffstat (limited to 'makefile')
-rw-r--r--makefile35
1 files changed, 35 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..00a6adb
--- /dev/null
+++ b/makefile
@@ -0,0 +1,35 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2005-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
+install := $(out_base)/.install
+clean := $(out_base)/.clean
+cleandoc := $(out_base)/.cleandoc
+
+$(default): $(out_base)/odb/
+
+
+# Test.
+#
+$(test): $(out_base)/tests/.test
+
+
+# Install.
+#
+$(install): $(out_base)/odb/.install
+
+
+# Clean.
+#
+$(clean): $(out_base)/odb/.clean
+
+$(cleandoc): $(out_base)/doc/.cleandoc
+
+$(call include,$(bld_root)/install.make)
+
+$(call import,$(src_base)/odb/makefile)