diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2010-02-05 18:01:45 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2010-02-05 18:01:45 +0200 |
commit | d7b7e218bfe92516f525568a6c1c9e1a9eb241fe (patch) | |
tree | 6cbc3155d7188f65e4b806c6edeecdd53393da69 /build/c/configuration.make |
Start tracking build with git
Diffstat (limited to 'build/c/configuration.make')
-rw-r--r-- | build/c/configuration.make | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/build/c/configuration.make b/build/c/configuration.make new file mode 100644 index 0000000..97da2f0 --- /dev/null +++ b/build/c/configuration.make @@ -0,0 +1,44 @@ +# file : build/c/configuration.make +# author : Boris Kolpackov <boris@codesynthesis.com> +# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC +# license : GNU GPL v2; see accompanying LICENSE file + +$(call include-once,$(bld_root)/c/configuration-rules.make,$(dcf_root)) + +# Static configuration. +# +$(call include,$(bld_root)/c/configuration-static.make) + +# Dynamic configuration. +# +c_id := +c_optimize := +c_debug := +c_rpath := + +c_pp_extra_options := +c_extra_options := +c_ld_extra_options := +c_extra_libs := +c_extra_lib_paths := + +$(call -include,$(dcf_root)/c/configuration-dynamic.make) + +ifdef c_id + +$(out_root)/%: c_id := $(c_id) +$(out_root)/%: c_optimize := $(c_optimize) +$(out_root)/%: c_debug := $(c_debug) +$(out_root)/%: c_rpath := $(c_rpath) + +$(out_root)/%: c_pp_extra_options := $(c_pp_extra_options) +$(out_root)/%: c_extra_options := $(c_extra_options) +$(out_root)/%: c_ld_extra_options := $(c_ld_extra_options) +$(out_root)/%: c_extra_libs := $(c_extra_libs) +$(out_root)/%: c_extra_lib_paths := $(c_extra_lib_paths) + +else + +.NOTPARALLEL: + +endif |