summaryrefslogtreecommitdiff
path: root/build-0.3/cxx/gnu/configuration.make
blob: 2e55f8b866849e69545b8ed14d120495cd84b8a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# file      : build/cxx/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)/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