slstatus/config.mk

24 lines
411 B
Makefile
Raw Normal View History

2017-08-11 03:32:10 +08:00
# slstatus version
VERSION = 0
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
PREFIX = /usr/local
MANPREFIX = ${PREFIX}/share/man
2016-09-05 06:40:47 +08:00
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
# OpenBSD (uncomment)
#OSSLIBS = -lossaudio
2017-08-11 03:32:10 +08:00
# flags
CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE
CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os
LDFLAGS = -L$(X11LIB) -s
LDLIBS = -lX11 ${OSSLIBS}
# compiler and linker
CC = cc