aboutsummaryrefslogtreecommitdiff
path: root/build/c/configuration-rules.make
blob: 53adeb712677d94a9a233330b507720091b908e8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# file      : build/c/configuration-rules.make
# author    : Boris Kolpackov <boris@codesynthesis.com>
# copyright : Copyright (c) 2004-2010 Code Synthesis Tools CC
# license   : GNU GPL v2; see accompanying LICENSE file

$(dcf_root)/c/configuration-dynamic.make: | $(dcf_root)/c/.
	$(call message,,$(bld_root)/c/configure $@ \
"$(origin c_pp_options)"  \
"$(origin c_options)"     \
"$(origin c_ld_options)"  \
"$(origin c_libs)")

ifndef %foreign%

$(dcf_root)/.disfigure::
	$(call message,rm $(dcf_root)/c/configuration-dynamic.make,\
rm -f $(dcf_root)/c/configuration-dynamic.make)

endif