summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/.build13
-rw-r--r--test/hai.c9
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"
+ )
+)
diff --git a/test/hai.c b/test/hai.c
index 25c25ae..7791fbb 100644
--- a/test/hai.c
+++ b/test/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;
+}