aboutsummaryrefslogtreecommitdiff
path: root/run.sh
diff options
context:
space:
mode:
authorLizzy Fleckenstein <eliasfleckenstein@web.de>2023-08-18 00:12:16 +0200
committerLizzy Fleckenstein <eliasfleckenstein@web.de>2023-08-18 00:39:02 +0200
commit082fbc76d01275c04fa507f64842085b301d31ab (patch)
tree2a64e93c1523ebd9af71340fcd3e5c8e3193e8b5 /run.sh
downloadparadox-082fbc76d01275c04fa507f64842085b301d31ab.tar.xz
initial commit
Diffstat (limited to 'run.sh')
-rwxr-xr-xrun.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/run.sh b/run.sh
new file mode 100755
index 0000000..c7c2e1a
--- /dev/null
+++ b/run.sh
@@ -0,0 +1,6 @@
+#!/bin/bash
+set -e
+./paradox < "$1" > "$1.asm"
+nasm -f elf64 "/tmp/$1.asm" -o "/tmp/$1.o"
+ld "/tmp/$1.o" -o "$1.bin"
+./"$1.bin"