Xinqi Bao's Git
projects
/
slstatus.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
raw
|
inline
| side by side
Flush the output stream instead of arbitrarily disabling buffering
[slstatus.git]
/
config.mk
diff --git
a/config.mk
b/config.mk
index
bb2324f
..
9d26bc3
100644
(file)
--- a/
config.mk
+++ b/
config.mk
@@
-4,16
+4,18
@@
VERSION = 0
# customize below to fit your system
# paths
# customize below to fit your system
# paths
-PREFIX
= /usr/local
-MANPREFIX = $
{PREFIX}
/share/man
+PREFIX = /usr/local
+MANPREFIX = $
(PREFIX)
/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
-# OpenBSD (uncomment)
-#OSSLIBS = -lossaudio
-
# flags
# flags
+CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
-LDFLAGS = -s
-LIBS =
+LDFLAGS = -L$(X11LIB) -s
+# OpenBSD: add -lossaudio
+LDLIBS = -lX11
+
+# compiler and linker
+CC = cc