summaryrefslogtreecommitdiff
path: root/progs/wgl/SConscript
diff options
context:
space:
mode:
Diffstat (limited to 'progs/wgl/SConscript')
-rw-r--r--progs/wgl/SConscript23
1 files changed, 23 insertions, 0 deletions
diff --git a/progs/wgl/SConscript b/progs/wgl/SConscript
new file mode 100644
index 0000000000..b7cf35b7fc
--- /dev/null
+++ b/progs/wgl/SConscript
@@ -0,0 +1,23 @@
+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',
+ )