#! /usr/bin/env python
# encoding: utf-8

def build (bld):
	
#	bld.program (
#		target = "optimizer02",
#		source = "optimizer02.cpp",
#		use = "ibex",
#	)

	
	targets = [n.name[:-4] for n in bld.path.ant_glob("*.cpp")]

	# filtering broken targets
#	for n in "arith02 ctc02 defaultsolver optimizer04 robust_estim solver04 symb01".split():
#		targets.remove (n)

	for t in targets:

		bld.program (
			target = t,
			source = "%s.cpp" % t,
			use = "ibex IBEX_DEPS",
			install_path = False,
		)
