X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/96334e2079c0a4607aaa1ba78a7d633fa257ecc2..dd5bfc3e518a705aba95569537e785bb0d6d7005:/config.mk?ds=sidebyside diff --git a/config.mk b/config.mk index adb0a70..2516e6e 100644 --- a/config.mk +++ b/config.mk @@ -1,19 +1,21 @@ # slstatus version VERSION = 0 -# Customize below to fit your system +# customize below to fit your system -#paths +# paths PREFIX = /usr/local -MANPREFIX = ${PREFIX}/share/man +MANPREFIX = $(PREFIX)/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # flags CPPFLAGS = -I$(X11INC) -D_DEFAULT_SOURCE -CFLAGS = -std=c99 -pedantic -Wall -Wextra -Wno-unused -Os +CFLAGS = -std=c99 -pedantic -Wall -Wextra -Os LDFLAGS = -L$(X11LIB) -s +# OpenBSD: add -lsndio +# FreeBSD: add -lkvm LDLIBS = -lX11 # compiler and linker