From ecdada3e6c4f1e57bad487d5225993e0bc646f6e Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Mon, 28 Apr 2014 08:22:06 +0200 Subject: Add roundtrip example, root makefile --- examples/makefile | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 examples/makefile (limited to 'examples/makefile') diff --git a/examples/makefile b/examples/makefile new file mode 100644 index 0000000..3b9b68f --- /dev/null +++ b/examples/makefile @@ -0,0 +1,17 @@ +# file : examples/makefile +# copyright : Copyright (c) 2009-2013 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))../build/bootstrap.make + +tests := roundtrip + +default := $(out_base)/ +test := $(out_base)/.test +clean := $(out_base)/.clean + +$(default): $(addprefix $(out_base)/,$(addsuffix /,$(tests))) +$(test): $(addprefix $(out_base)/,$(addsuffix /.test,$(tests))) +$(clean): $(addprefix $(out_base)/,$(addsuffix /.clean,$(tests))) + +$(foreach t,$(tests),$(call import,$(src_base)/$t/makefile)) -- cgit v1.1