From a448a31cab64ab684a79bb179de7a859f8f9da1a Mon Sep 17 00:00:00 2001 From: Alejandro Sior Date: Sat, 6 Aug 2022 21:26:03 +0200 Subject: 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. --- test/.build | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'test/.build') 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 -- cgit v1.2.3