X-Git-Url: https://git.xinqibao.xyz/slstatus.git/blobdiff_plain/96334e2079c0a4607aaa1ba78a7d633fa257ecc2..489c6f87d1d19831a7d43840dd76b111d657750b:/config.mk diff --git a/config.mk b/config.mk index adb0a70..a148da4 100644 --- a/config.mk +++ b/config.mk @@ -1,20 +1,23 @@ # 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 X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib +# OpenBSD (uncomment) +#OSSLIBS = -lossaudio + # 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 -LDLIBS = -lX11 +LDLIBS = -lX11 ${OSSLIBS} # compiler and linker CC = cc