config.mk (456B)
1 # slstatus version 2 VERSION = 1.0 3 4 # customize below to fit your system 5 6 # paths 7 PREFIX = /usr/local 8 MANPREFIX = $(PREFIX)/share/man 9 10 X11INC = /usr/X11R6/include 11 X11LIB = /usr/X11R6/lib 12 13 # flags 14 CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" 15 CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter -Os 16 LDFLAGS = -L$(X11LIB) -s 17 # OpenBSD: add -lsndio 18 # FreeBSD: add -lkvm -lsndio 19 LDLIBS = -lX11 20 21 # compiler and linker 22 CC = cc