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