aboutsummaryrefslogtreecommitdiff
path: root/config.mk
diff options
context:
space:
mode:
authorkrolyxon <krolyxon@tutanota.com>2022-06-01 23:52:05 +0530
committerkrolyxon <krolyxon@tutanota.com>2022-06-01 23:52:05 +0530
commitde4cf2cf7e7b20594312ce6e7c5fceb6790a5401 (patch)
tree53d9bd0cd7c4ccb2c9ba8baeaa8754d9c5e403f2 /config.mk
first commit
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk22
1 files changed, 22 insertions, 0 deletions
diff --git a/config.mk b/config.mk
new file mode 100644
index 0000000..2516e6e
--- /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 -Os
+LDFLAGS = -L$(X11LIB) -s
+# OpenBSD: add -lsndio
+# FreeBSD: add -lkvm
+LDLIBS = -lX11
+
+# compiler and linker
+CC = cc