summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorwerdl <werdl_@outlook.com>2025-05-28 08:42:25 +0100
committerwerdl <werdl_@outlook.com>2025-05-28 08:42:25 +0100
commit0735d1e62ad0f1a474b7bd758fe03f2e434f5c40 (patch)
tree87b7d6ed92c93ff24b39330344f6ea339b054895 /README.md
parent65ef10005ced5d290348f7dac774d28886c2be63 (diff)
Add OpenBSD installation instructions
Diffstat (limited to 'README.md')
-rw-r--r--README.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/README.md b/README.md
index 4cc6100..6cbfd19 100644
--- a/README.md
+++ b/README.md
@@ -226,6 +226,13 @@ sudo nixos-rebuild switch
slackpkg install gcc make libX11 libXinerama</code></pre>
</details>
+<details>
+<summary>OpenBSD</summary>
+<pre><code>doas pkg_add gmake</code></pre>
+You will also need the X sets (<code>xbase</code>, <code>xfonts</code>, <code>xserv</code> and <code>xshare</code>) installed.
+When you make the code, use <code>gmake</code> instead of <code>make</code> (which will be BSD make). Use the following command to build: <code>gmake CFLAGS+="-I/usr/X11R6/include -Wall -Wextra -O3" -Isrc-j12 LDFLAGS="-L/usr/X11R6/lib -lX11 -lXinerama -lXcursor"</code>
+</details>
+
---
## Build & Install