summaryrefslogtreecommitdiff
path: root/2022/prepare
diff options
context:
space:
mode:
authorBond_009 <bond.009@outlook.com>2022-12-01 22:30:22 +0100
committerBond_009 <bond.009@outlook.com>2022-12-01 22:30:22 +0100
commitbaf4910870a6e8999802b9a4a22eabd4142a34e3 (patch)
tree2d11443dc21e53bd0d99d015cf789937d6d95862 /2022/prepare
parent49d0c908f24b2c193c9deed1716fe36061ba26a1 (diff)
Move all Advent of Codes into one repo
Diffstat (limited to '2022/prepare')
-rwxr-xr-x2022/prepare7
1 files changed, 7 insertions, 0 deletions
diff --git a/2022/prepare b/2022/prepare
new file mode 100755
index 0000000..206fe35
--- /dev/null
+++ b/2022/prepare
@@ -0,0 +1,7 @@
+#!/bin/sh
+
+set -ef
+
+day="$(printf '%02d' "$1")"
+nasm -f elf64 "$day/part$2.asm" -i "../utils" -o run.o
+ld run.o -o run