aboutsummaryrefslogtreecommitdiff
path: root/slstatusf/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'slstatusf/config.mk')
-rwxr-xr-xslstatusf/config.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/slstatusf/config.mk b/slstatusf/config.mk
new file mode 100755
index 0000000..c41547e
--- /dev/null
+++ b/slstatusf/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/local/include
+X11LIB = /usr/local/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 -lkvm -lsndio
+
+# compiler and linker
+CC = cc