diff options
| author | Alejandro W. Sior <aho@sior.be> | 2023-01-23 18:19:48 +0100 |
|---|---|---|
| committer | Alejandro W. Sior <aho@sior.be> | 2023-01-23 18:19:48 +0100 |
| commit | d0759d3282025f310ecd566c55dcf214b0cbb1b8 (patch) | |
| tree | 705f9cd43a9429ee264ce100381f7e76f7dca8a1 /test | |
| parent | ddedac846b0788e3cff90a24b2c8109308b1e840 (diff) | |
cook: module reorganization
Diffstat (limited to 'test')
| -rw-r--r-- | test/.build | 13 | ||||
| -rw-r--r-- | test/hai.c | 9 |
2 files changed, 9 insertions, 13 deletions
diff --git a/test/.build b/test/.build index 60aadcb..d313d01 100644 --- a/test/.build +++ b/test/.build @@ -1,8 +1,5 @@ -deps = CDependency(["Mrm", "Xm", "Xt", "libpcre"]) - -mod["link"] = mod.lib("test", mod.cc( - "main.c", - "hai.c", - deps = deps)) - -mod.deps += deps
\ No newline at end of file +this.link = this.c.lib("test", + this.c.cc( + "hai.c" + ) +) @@ -1,7 +1,6 @@ -#include "hai.h" - #include <stdio.h> -void hai() { - printf("lol\n"); -}
\ No newline at end of file +int main() { + printf("Hello world!\n"); + return 0; +} |
