diff options
Diffstat (limited to 'build-0.3/c/gnu/configuration.make')
-rw-r--r-- | build-0.3/c/gnu/configuration.make | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/build-0.3/c/gnu/configuration.make b/build-0.3/c/gnu/configuration.make new file mode 100644 index 0000000..32aaf97 --- /dev/null +++ b/build-0.3/c/gnu/configuration.make @@ -0,0 +1,33 @@ +# file : build/c/gnu/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/gnu/configuration-rules.make,$(dcf_root)) + +# Static configuration. +# +$(call include,$(bld_root)/c/gnu/configuration-static.make) + +ifneq ($(bld_root),$(scf_root)) +$(call -include,$(scf_root)/c/gnu/configuration-static.make) +endif + +# Dynamic configuration. +# +c_gnu := +c_gnu_optimization_options := + +$(call -include,$(dcf_root)/c/gnu/configuration-dynamic.make) + +ifdef c_gnu + +c_gnu_debugging_options := $(if $(findstring y,$(c_debug)),-g) + +$(out_root)/%: c_gnu_debugging_options := $(c_gnu_debugging_options) +$(out_root)/%: c_gnu_optimization_options := $(c_gnu_optimization_options) + +else + +.NOTPARALLEL: + +endif |