summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlejandro Sior <aho@sior.be>2022-09-13 15:27:35 +0200
committerAlejandro Sior <aho@sior.be>2022-09-13 15:27:35 +0200
commitddedac846b0788e3cff90a24b2c8109308b1e840 (patch)
treeae79b5d04117704b33b47b6f1dc5bdfba43db2fe /test
parent533fc1eb6e1a2327ef6f1acb04cc3bd9983d97d5 (diff)
cook: simplified the module system
Diffstat (limited to 'test')
-rw-r--r--test/.build11
1 files changed, 7 insertions, 4 deletions
diff --git a/test/.build b/test/.build
index 94be6b4..60aadcb 100644
--- a/test/.build
+++ b/test/.build
@@ -1,5 +1,8 @@
-mod.link(
- "Mrm", "Uil", "Xm", "Xt", "libpcre"
-)
+deps = CDependency(["Mrm", "Xm", "Xt", "libpcre"])
-mod.src("main.c", "hai.c") \ No newline at end of file
+mod["link"] = mod.lib("test", mod.cc(
+ "main.c",
+ "hai.c",
+ deps = deps))
+
+mod.deps += deps \ No newline at end of file