summaryrefslogtreecommitdiff
path: root/progs/wgl/SConscript
blob: 31f61676dec9f4fb52884c2aec1e5c8c9f22218f (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
Import('*')

if env['platform'] != 'windows':
    Return()

env = env.Clone()

env.Append(LIBS = [
    'kernel32',
    'user32',
    'gdi32',
])

progs = [
    'sharedtex_mt',
    'wglthreads',
]

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

env.Program('wglinfo', ['wglinfo.c'])