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