blob: 32aaf97a3ee76839b6e00f11def6bd51ae3dabc6 (
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/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
|