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

$(dcf_root)/c/gnu/configuration-dynamic.make: | $(dcf_root)/c/gnu/.
	$(call message,,$(bld_root)/c/gnu/configure $@ $(c_optimize) \
"$(c_extra_options)" "$(c_ld_extra_options)")

ifndef %foreign%

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

endif