aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-06 16:23:59 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-06 16:23:59 +0200
commite403825b82c639def3ea049ccff4738109db3c49 (patch)
treeb253078ad912fc8c5021f85f985e8ee047241f30 /makefile
Initial dependency configuration
Diffstat (limited to 'makefile')
-rw-r--r--makefile43
1 files changed, 43 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..3ff2fb3
--- /dev/null
+++ b/makefile
@@ -0,0 +1,43 @@
+# file : makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2009 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)/libcutl/cutl/
+
+# Test.
+#
+test: $(out_base)/libcutl/.test
+
+# Install.
+#
+install:
+
+# Clean.
+#
+clean: $(out_base)/libcutl/.clean
+
+# Reset pattern-specific variables because GNU make will use the
+# first match instead of the most specific match. Here out_root
+# and out_base are the same.
+#
+$(out_root)/%: out_root :=
+$(out_root)/%: out_base :=
+$(out_root)/%: src_root :=
+$(out_root)/%: src_base :=
+$(out_root)/%: scf_root :=
+$(out_root)/%: dcf_root :=
+$(out_root)/%: project_name :=
+
+src_root := $(src_base)/libcutl
+scf_root := $(src_root)/build
+out_root := $(src_root)
+$(call import,$(src_base)/libcutl/makefile)