aboutsummaryrefslogtreecommitdiff
path: root/build/c/gnu/configuration-rules.make
blob: 192519b140d7a5d6f22d2c981aca54786c777a4f (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-2011 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