Import('env') sources = Glob('*.cpp') if env['PLATFORM'] == 'darwin': sources.append('SDLMain.m') env.Library('wriggle', sources)