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/cxx/gnu/configuration.make |
Start tracking build with git
Diffstat (limited to 'build/cxx/gnu/configuration.make')
-rw-r--r-- | build/cxx/gnu/configuration.make | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/build/cxx/gnu/configuration.make b/build/cxx/gnu/configuration.make new file mode 100644 index 0000000..57e00e9 --- /dev/null +++ b/build/cxx/gnu/configuration.make @@ -0,0 +1,34 @@ +# file : build/cxx/gnu/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)/cxx/gnu/configuration-rules.make,$(dcf_root)) + +# Static configuration. +# +$(call include,$(bld_root)/cxx/gnu/configuration-static.make) + +ifneq ($(bld_root),$(scf_root)) +$(call -include,$(scf_root)/cxx/gnu/configuration-static.make) +endif + +# Dynamic configuration. +# +cxx_gnu := +cxx_gnu_optimization_options := + +$(call -include,$(dcf_root)/cxx/gnu/configuration-dynamic.make) + +ifdef cxx_gnu + +cxx_gnu_debugging_options := $(if $(findstring y,$(cxx_debug)),-g) + +$(out_root)/%: cxx_gnu_debugging_options := $(cxx_gnu_debugging_options) +$(out_root)/%: cxx_gnu_optimization_options := $(cxx_gnu_optimization_options) + +else + +.NOTPARALLEL: + +endif |