summaryrefslogtreecommitdiff
path: root/ape/boot/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'ape/boot/Makefile')
-rw-r--r--ape/boot/Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/ape/boot/Makefile b/ape/boot/Makefile
new file mode 100644
index 0000000..05f7a36
--- /dev/null
+++ b/ape/boot/Makefile
@@ -0,0 +1,14 @@
+export PATH := $(realpath usr/bin):$(PATH)
+CC=cosmocc
+ZC=zc.com
+
+all: out/hello.com
+
+out/hello.com: hello.zc
+ @mkdir -p out
+ $(ZC) build --cc $(CC) -o $@ $<
+
+clean:
+ rm -rf out
+
+.PHONY: all clean \ No newline at end of file