import os import sys env=DefaultEnvironment().Clone() BIN_DIR=os.environ['BIN_DIR']; env['LIBS'] = ['common'] + env['LIBS'] env.Program(os.path.join(BIN_DIR, 'qt_to_xml'), ["qt_to_xml.cc"])