summaryrefslogtreecommitdiff
path: root/build-0.3/c/configuration-rules.make
blob: 836fa1d76436e31d40840a8b6852267a335731ca (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%

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

endif