# -*- mode:python; coding=utf-8; -*- import os environment = Environment( ENV=os.environ, tools=['link', '{}'], # It might be thought that a single string can contain multiple options space separated. Actually this # is deemed to be a single option, so leads to an error. DFLAGS = '-m64 -O') environment.Program('proj', Split(""" proj.d mod1.d cmod.c """))