From 69c79d8181e906ce0e07cbcd2c30f8ea3890fc03 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 6 Sep 2009 13:15:53 +0200 Subject: Initial dependency configuration --- makefile | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 makefile (limited to 'makefile') diff --git a/makefile b/makefile new file mode 100644 index 0000000..b26128f --- /dev/null +++ b/makefile @@ -0,0 +1,48 @@ +# 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-0.3/bootstrap.make + +default := $(out_base)/ + +.PHONY: $(default) test install clean + +# Build. +# +$(default): $(out_base)/cli/cli/ + +# Test. +# +test: $(out_base)/libcutl/.test $(out_base)/cli/.test + +# Install. +# +install: + +# Clean. +# +clean: $(out_base)/libcutl/.clean $(out_base)/cli/.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) + +src_root := $(src_base)/cli +scf_root := $(src_root)/build +out_root := $(src_root) +$(call import,$(src_base)/cli/makefile) -- cgit v1.1