diff options
Diffstat (limited to 'build-0.3/c/configuration.make')
-rw-r--r-- | build-0.3/c/configuration.make | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/build-0.3/c/configuration.make b/build-0.3/c/configuration.make new file mode 100644 index 0000000..e47731c --- /dev/null +++ b/build-0.3/c/configuration.make @@ -0,0 +1,43 @@ +# file : build/c/configuration.make +# copyright : Copyright (c) 2004-2012 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) $(c_pp_cmd_options) +$(out_root)/%: c_extra_options := $(c_extra_options) $(c_cmd_options) +$(out_root)/%: c_ld_extra_options := $(c_ld_extra_options) $(c_ld_cmd_options) +$(out_root)/%: c_extra_libs := $(c_extra_libs) $(c_cmd_libs) +$(out_root)/%: c_extra_lib_paths := $(c_extra_lib_paths) $(c_cmd_lib_paths) + +else + +.NOTPARALLEL: + +endif |