summaryrefslogtreecommitdiff
path: root/openbsd.mk
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2024-03-22 20:39:35 +0100
committerAlbert Cervin <albert@acervin.com>2024-03-22 20:39:35 +0100
commitbb2dff871b6a5b1362a2f867e586b06dc6b49996 (patch)
tree22811279a106e8f95ab727c59ec11399c98969a4 /openbsd.mk
parent5ce90cb97a08c6057224b3a8181e2e757fcfd4e2 (diff)
downloaddged-bb2dff871b6a5b1362a2f867e586b06dc6b49996.tar.gz
dged-bb2dff871b6a5b1362a2f867e586b06dc6b49996.tar.xz
dged-bb2dff871b6a5b1362a2f867e586b06dc6b49996.zip
Initial OpenBSD support
Reactor is not really implemented yet but at least it builds and the tests run.
Diffstat (limited to 'openbsd.mk')
-rw-r--r--openbsd.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/openbsd.mk b/openbsd.mk
new file mode 100644
index 0000000..59e6ed2
--- /dev/null
+++ b/openbsd.mk
@@ -0,0 +1,4 @@
+CFLAGS += -DOPENBSD -DBSD
+
+PLATFORM_SOURCES += src/dged/reactor-kqueue.c
+FORMAT_TOOL = clang-format-13