aboutsummaryrefslogtreecommitdiff
path: root/debugger/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'debugger/Makefile')
-rw-r--r--debugger/Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/debugger/Makefile b/debugger/Makefile
new file mode 100644
index 0000000..5648579
--- /dev/null
+++ b/debugger/Makefile
@@ -0,0 +1,10 @@
+.PHONE: all clean
+
+all: rot13-64
+
+rot13-64: rot13.c
+ riscv64-unknown-linux-gnu-gcc -g -Og -o rot13-64.o -c rot13.c
+ riscv64-unknown-linux-gnu-gcc -g -Og -T spike.lds -nostartfiles -o rot13-64 rot13-64.o
+
+clean:
+ -rm rot13-64 rot13-64.o