summaryrefslogtreecommitdiff
path: root/build-openbsd.sh
diff options
context:
space:
mode:
authorMartin Stensgård <mastensg@mastensg.net>2024-04-23 20:00:46 +0200
committerMartin Stensgård <mastensg@mastensg.net>2024-04-23 20:00:46 +0200
commit896081ce9cff7a5279de27543a81cd21b96ecec3 (patch)
treec5ab1b727170367150a64ff0f1f8cc89c1d9099a /build-openbsd.sh
parent0d164011393826efa0290afe5accf25a130bdca0 (diff)
build for openbsd/amd64HEADmain
I tested this on my machine which runs OpenBSD 7.5.
Diffstat (limited to 'build-openbsd.sh')
-rwxr-xr-xbuild-openbsd.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/build-openbsd.sh b/build-openbsd.sh
new file mode 100755
index 0000000..09c021f
--- /dev/null
+++ b/build-openbsd.sh
@@ -0,0 +1,6 @@
+#!/bin/sh
+
+set -xe
+
+gnatmake -f -O3 -Wall -Wextra -gnat2012 -o eepers-openbsd eepers.adb -bargs -static -largs -L./raylib/raylib-5.0_openbsd_amd64/lib/ -l:libraylib.a -lm -pthread
+./eepers-openbsd