summaryrefslogtreecommitdiff
path: root/test/.build
diff options
context:
space:
mode:
authorAlejandro Sior <aho@sior.be>2022-07-30 22:53:58 +0200
committerAlejandro Sior <aho@sior.be>2022-07-30 22:53:58 +0200
commitab4e773dacc5411b7ede04950b07209dc606ad2f (patch)
tree6032329627c28565381c10cc47de146fc2c03b77 /test/.build
cook: add basic makefile generation
Diffstat (limited to 'test/.build')
-rw-r--r--test/.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/.build b/test/.build
new file mode 100644
index 0000000..8fdda48
--- /dev/null
+++ b/test/.build
@@ -0,0 +1,5 @@
+linker_sc = CWD / "linker.sc"
+
+as_obj = asm("test.asm")
+obj = cc("main.c", extra_args="-T" + str(linker_sc))
+aout = ld("a.out", obj, as_obj) \ No newline at end of file