summaryrefslogtreecommitdiffstats
path: root/src/glsl/apps/SConscript
blob: 4c81b3be956d706b6231028a5649dfa8ee6d78af (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
30
31
32
33
34
35
36
Import('*')

env = env.Clone()

if env['platform'] == 'windows':
    env.PrependUnique(LIBS = [
        'user32',
    ])

env.Prepend(LIBS = [glsl, glslcl])

env.Program(
    target = 'purify',
    source = ['purify.c'],
)

env.Program(
    target = 'tokenise',
    source = ['tokenise.c'],
)

env.Program(
    target = 'version',
    source = ['version.c'],
)

env.Program(
    target = 'process',
    source = ['process.c'],
)

glsl_compile = env.Program(
    target = 'compile',
    source = ['compile.c'],
)
Export('glsl_compile')