summaryrefslogtreecommitdiff
path: root/test/.build
diff options
context:
space:
mode:
authorAlejandro Sior <aho@sior.be>2022-08-06 21:26:03 +0200
committerAlejandro Sior <aho@sior.be>2022-08-06 21:26:03 +0200
commita448a31cab64ab684a79bb179de7a859f8f9da1a (patch)
treeb6a61cde006eed7a5f81276c4a31dd909a7c057e /test/.build
parent25027ef496681ff6f45386f98f9b81b465659e5b (diff)
cook: add preliminary MSVC C toolchain support
It cannot properly create and link against .DLLs yet, the current implementation of it is a hack (using mkextra). Static libraries, executables as well as cc work in a respectable manner.
Diffstat (limited to 'test/.build')
-rw-r--r--test/.build8
1 files changed, 5 insertions, 3 deletions
diff --git a/test/.build b/test/.build
index 96b8226..61983a3 100644
--- a/test/.build
+++ b/test/.build
@@ -1,3 +1,5 @@
-obj = cc("main.c")
-l = lib("vol", obj)
-aout = exe("vol", l, libs=["Xm", "Xt"]) \ No newline at end of file
+maino = cc("main.c")
+haio = cc("hai.c")
+hailib = shlib("hai", haio)
+
+aout = exe("vol", maino, hailib) \ No newline at end of file