aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorBradley Taunt <bt@btxx.org>2024-01-18 12:53:45 -0500
committerBradley Taunt <bt@btxx.org>2024-01-18 12:53:45 -0500
commitd1f0177d8d525eac0e0795d67467b09b57dbe7b0 (patch)
tree61f8253913c50d0fffc3f36d035f5b27781caeef /config.mk
Initial commit on cgit platformHEADmaster
Diffstat (limited to 'config.mk')
-rwxr-xr-xconfig.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100755
index 0000000..ead1859
--- /dev/null
+++ b/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
+
+# compiler and linker
+CC = cc