From cb9ea47e7825b5073d4d645afb94f6326cb7cf4d Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 6 Sep 2009 12:52:53 +0200 Subject: Start the libcutl repository --- makefile | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..5d90ad8 --- /dev/null +++ b/makefile @@ -0,0 +1,42 @@ +# file : makefile +# author : Boris Kolpackov +# copyright : Copyright (c) 2009 Code Synthesis Tools CC +# license : MIT; see accompanying LICENSE file + +include $(dir $(lastword $(MAKEFILE_LIST)))build/bootstrap.make + +default := $(out_base)/ +test := $(out_base)/.test +install := $(out_base)/.install +dist := $(out_base)/.dist +clean := $(out_base)/.clean + +# Build. +# +$(default): $(out_base)/cutl/ $(out_base)/tests/ + +# Test. +# +$(test): $(out_base)/tests/.test + +# Install. +# +$(install): $(out_base)/cutl/.install \ + $(out_base)/doc/.install + $(call install-data,$(src_base)/LICENSE,$(install_doc_dir)/libcutl/LICENSE) + $(call install-data,$(src_base)/NEWS,$(install_doc_dir)/libcutl/NEWS) + $(call install-data,$(src_base)/README,$(install_doc_dir)/libcutl/README) + +# Dist. +# + +# @@ TODO + +# Clean. +# +$(clean): $(out_base)/cutl/.clean $(out_base)/tests/.clean + +$(call include,$(bld_root)/install.make) + +$(call import,$(src_base)/cutl/makefile) +$(call import,$(src_base)/tests/makefile) -- cgit v1.1