2017-08-10 20:32:10 +01:00
|
|
|
# slstatus version
|
|
|
|
VERSION = 0
|
2016-09-18 21:00:50 +01:00
|
|
|
|
2017-08-10 20:32:10 +01:00
|
|
|
# Customize below to fit your system
|
|
|
|
|
|
|
|
#paths
|
2016-09-04 23:40:47 +01:00
|
|
|
PREFIX = /usr/local
|
2017-08-10 20:32:10 +01:00
|
|
|
MANPREFIX = ${PREFIX}/man
|
2016-09-04 23:40:47 +01:00
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
2017-08-10 20:32:10 +01:00
|
|
|
# flags
|
|
|
|
CPPFLAGS = -I$(X11INC) -DVERSION=\"$(VERSION)\" -D_DEFAULT_SOURCE
|
|
|
|
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused -Os
|
|
|
|
LDFLAGS = -L$(X11LIB) -s
|
|
|
|
LDLIBS = -lX11
|
2016-09-04 23:40:47 +01:00
|
|
|
|
2017-08-10 20:32:10 +01:00
|
|
|
# compiler and linker
|
2016-09-04 23:40:47 +01:00
|
|
|
CC = cc
|