summaryrefslogtreecommitdiffstats
path: root/progs/fp/SConscript
blob: 69614e1a9e1b50a51a043fc8e978fc05f9c2e19f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
Import('env')

if not env['GLUT']:
    Return()

env = env.Clone()

env.Prepend(CPPPATH = [
	'../util',
])

env.Prepend(LIBS = ['$GLUT_LIB'])

progs = [
    'fp-tri',
    'tri-depth',
    'tri-depth2',
    'tri-depthwrite',
    'tri-depthwrite2',
    'tri-param',
    'tri-tex',
    'point-position',
]

for prog in progs:
    env.Program(
        target = prog,
        source = [prog + '.c'],
    )