Import('*')

progs = [
    'arbfplight',
    'arbfslight',
    'arbocclude',
    'bounce',
    'clearspd',
    'copypix',
    'cubemap',
    'dissolve',
    'drawpix',
    'engine',
    'fbo_firecube',
    'fire',
    'fogcoord',
    'fplight',
    'fslight',
    'gamma',
    'gearbox',
    'gears',
    'geartrain',
    'glinfo',
    'gloss',
    'gltestperf',
    'ipers',
    'isosurf',
    'lodbias',
    'morph3d',
    'multiarb',
    'paltex',
    'pointblast',
    'ray',
    'readpix',
    'reflect',
    'renormal',
    'shadowtex',
    'singlebuffer',
    'spectex',
    'spriteblast',
    'stex3d',
    'teapot',
    'terrain',
    'tessdemo',
    'texcyl',
    'texenv',
    'textures',
    'trispd',
    'tunnel',
    'tunnel2',
    'vao_demo',
    'winpos',
    'dinoshade',
    'fbotexture',
    'projtex',
]

for prog in progs:
    progs_env.Program(
        target = prog,
        source = prog + '.c',
    )
    
progs_env.Program(
    target = 'rain',
    source = [
        'rain.cxx',
        'particles.cxx',
    ]
)