summary refs log tree commit diff stats
path: root/Makefile
diff options
context:
space:
mode:
authorSudipto Mallick <smlckz@disroot.org>2024-06-20 00:19:16 +0000
committerSudipto Mallick <smlckz@disroot.org>2024-06-20 00:19:16 +0000
commit028b1b969122d3a2a219ac935b71211a5d7027cf (patch)
treece348aa8003ed975c02e853d29aae0e41311cccf /Makefile
downloadvor-main.tar.gz
First commit main
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..e292a15
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,4 @@
+vor: vor.S pp.awk
+	awk -f pp.awk < $< | clang --target=armv6m-linux-eabi -mthumb -fuse-ld=lld -static -nostdlib -o $@ -x assembler -
+
+# clang --target=armv6m-linux-eabi -mthumb -fuse-ld=lld -static -nostdlib -o $@ $<