1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Import('*') if env['platform'] not in ['windows']: Return() env = env.Clone() glsl = env.StaticLibrary( target = 'glsl', source = [ 'sl_pp_purify.c', ], ) env = env.Clone() if env['platform'] == 'windows': env.PrependUnique(LIBS = [ 'user32', ]) env.Prepend(LIBS = [glsl])