summaryrefslogtreecommitdiff
path: root/.build
diff options
context:
space:
mode:
authorAlejandro Sior <aho@sior.be>2022-07-31 15:42:56 +0200
committerAlejandro Sior <aho@sior.be>2022-07-31 15:42:56 +0200
commit65f13dba60cab28c5b6cae2d72b792ade51c86c8 (patch)
treed125fc78c1c875cdcaaae2c6e627b3ace3730704 /.build
parentab4fa9d91adfc50ce3dff85b79c0ab09963f20f7 (diff)
cook: getting system compilers
Diffstat (limited to '.build')
-rw-r--r--.build12
1 files changed, 4 insertions, 8 deletions
diff --git a/.build b/.build
index f7c3f1f..134b1c1 100644
--- a/.build
+++ b/.build
@@ -1,10 +1,6 @@
-global asm
-asm = Vec(
- "asm",
- "/usr/bin/nasm",
- lambda o, i, ea: "-f elf64 %s -o %s %s" % (i, o, ea),
- lambda i: (i.name + ".o"),
- desc=lambda o, i, ea: "ASM %s" % (o)
-)
+global cc
+cc = System.c_compiler()
+global ld
+ld = System.c_linker()
subdir("test") \ No newline at end of file