aboutsummaryrefslogtreecommitdiff
path: root/desktop/slstatuso/config.mk
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-11-06 08:40:23 -0500
committerBradley Taunt <bt@btxx.org>2024-11-06 08:40:23 -0500
commit08e3aadd9b6d64dfabbd37581ef0d4d6d649444f (patch)
tree3449586cfe8226e8441b1e00ece92b30daf2e609 /desktop/slstatuso/config.mk
parent2696eff953132fc335d2d5f19e82009ac0870419 (diff)
Initial overall to match latest updates
Diffstat (limited to 'desktop/slstatuso/config.mk')
-rwxr-xr-xdesktop/slstatuso/config.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/desktop/slstatuso/config.mk b/desktop/slstatuso/config.mk
new file mode 100755
index 0000000..dd6fcba
--- /dev/null
+++ b/desktop/slstatuso/config.mk
@@ -0,0 +1,22 @@
+# slstatus version
+VERSION = 0
+
+# customize below to fit your system
+
+# paths
+PREFIX = /usr/local
+MANPREFIX = $(PREFIX)/share/man
+
+X11INC = /usr/X11R6/include
+X11LIB = /usr/X11R6/lib
+
+# flags
+CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
+CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os
+LDFLAGS = -L$(X11LIB) -s
+# OpenBSD: add -lsndio
+# FreeBSD: add -lkvm -lsndio
+LDLIBS = -lX11 -lsndio
+
+# compiler and linker
+CC = cc