aboutsummaryrefslogtreecommitdiff
path: root/examples/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'examples/makefile')
-rw-r--r--examples/makefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/examples/makefile b/examples/makefile
new file mode 100644
index 0000000..fcc4e71
--- /dev/null
+++ b/examples/makefile
@@ -0,0 +1,17 @@
+# file : examples/makefile
+# author : Boris Kolpackov <boris@codesynthesis.com>
+# copyright : Copyright (c) 2006-2009 Code Synthesis Tools CC
+# license : GNU GPL v2 + exceptions; see accompanying LICENSE file
+
+include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make
+
+default := $(out_base)/
+clean := $(out_base)/.clean
+
+.PHONY: $(default) $(clean)
+
+$(default): $(out_base)/cxx/parser/ $(out_base)/cxx/tree/
+$(clean): $(out_base)/cxx/parser/.clean $(out_base)/cxx/tree/.clean
+
+$(call import,$(src_base)/cxx/parser/makefile)
+$(call import,$(src_base)/cxx/tree/makefile)