2017-08-11 03:32:10 +08:00
|
|
|
# slstatus version
|
|
|
|
VERSION = 0
|
2016-09-19 04:00:50 +08:00
|
|
|
|
2017-12-03 08:40:38 +08:00
|
|
|
# customize below to fit your system
|
2017-08-11 03:32:10 +08:00
|
|
|
|
2017-12-03 08:40:38 +08:00
|
|
|
# paths
|
2016-09-05 06:40:47 +08:00
|
|
|
PREFIX = /usr/local
|
2017-08-14 04:56:14 +08:00
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
2016-09-05 06:40:47 +08:00
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
2018-04-29 21:41:18 +08:00
|
|
|
# OpenBSD (uncomment)
|
|
|
|
#OSSLIBS = -lossaudio
|
|
|
|
|
2017-08-11 03:32:10 +08:00
|
|
|
# flags
|
2017-08-11 03:56:06 +08:00
|
|
|
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
|
2017-09-17 23:21:54 +08:00
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
|
2017-08-11 03:32:10 +08:00
|
|
|
LDFLAGS = -L$(X11LIB) -s
|
2018-04-29 21:41:18 +08:00
|
|
|
LDLIBS = -lX11 ${OSSLIBS}
|
2016-09-05 06:40:47 +08:00
|
|
|
|
2017-08-11 03:32:10 +08:00
|
|
|
# compiler and linker
|
2016-09-05 06:40:47 +08:00
|
|
|
CC = cc
|