summaryrefslogtreecommitdiff
path: root/slstatus/config.mk
diff options
context:
space:
mode:
authorcoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
committercoasteen <coasteen@proton.me>2026-07-09 10:42:28 +0330
commit8cbadb61604667b407b53ee1258433994fa4765a (patch)
tree97765fb29418fd6278fcb4cbb9760893afaf7a58 /slstatus/config.mk
Diffstat (limited to 'slstatus/config.mk')
-rwxr-xr-xslstatus/config.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/slstatus/config.mk b/slstatus/config.mk
new file mode 100755
index 0000000..7485796
--- /dev/null
+++ b/slstatus/config.mk
@@ -0,0 +1,22 @@
+# slstatus version
+VERSION = 1.0
+
+# customize below to fit your system
+
+# paths
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+
+X11INC = /usr/include
+X11LIB = /usr/lib
+
+# flags
+CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\"
+CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os
+LDFLAGS = -L$(X11LIB) -s
+# OpenBSD: add -lsndio
+# FreeBSD: add -lkvm -lsndio
+LDLIBS = -lX11
+
+# compiler and linker
+CC = gcc