summaryrefslogtreecommitdiffstats
path: root/test/D/HSTeoh/LinkingProblem/SConstruct_template
diff options
context:
space:
mode:
Diffstat (limited to 'test/D/HSTeoh/LinkingProblem/SConstruct_template')
-rw-r--r--test/D/HSTeoh/LinkingProblem/SConstruct_template21
1 files changed, 21 insertions, 0 deletions
diff --git a/test/D/HSTeoh/LinkingProblem/SConstruct_template b/test/D/HSTeoh/LinkingProblem/SConstruct_template
new file mode 100644
index 0000000..2c53b54
--- /dev/null
+++ b/test/D/HSTeoh/LinkingProblem/SConstruct_template
@@ -0,0 +1,21 @@
+# -*- mode:python; coding=utf-8; -*-
+
+import os
+
+environment = Environment(
+ tools = ['cc', '{}', 'link'],
+ LIBS = ['ncurses'])
+
+environment['ENV']['HOME'] = os.environ['HOME'] # Hack for gdmd
+
+environment.Object('ncurs_impl.o', 'ncurs_impl.c')
+
+environment.Program('prog', Split("""
+ prog.d
+ ncurs_impl.o
+"""))
+
+environment.Program('cprog', Split("""
+ cprog.c
+ ncurs_impl.o
+"""))