Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Use the sioctl_open(3) OpenBSD API to access vol
[slstatus.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
dad0684
..
d88695c
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-1,19
+1,20
@@
# slstatus version
VERSION = 0
# slstatus version
VERSION = 0
-#
C
ustomize below to fit your system
+#
c
ustomize below to fit your system
-#paths
+#
paths
PREFIX = /usr/local
PREFIX = /usr/local
-MANPREFIX = $
{PREFIX}
/man
+MANPREFIX = $
(PREFIX)/share
/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# flags
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# flags
-CPPFLAGS = -I$(X11INC) -D
VERSION=\"$(VERSION)\" -D
_DEFAULT_SOURCE
-CFLAGS = -std=c99 -pedantic -Wall -Wextra -
Wno-unused -
Os
+CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
+CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
LDFLAGS = -L$(X11LIB) -s
LDFLAGS = -L$(X11LIB) -s
+# OpenBSD: add -lsndio
LDLIBS = -lX11
# compiler and linker
LDLIBS = -lX11
# compiler and linker