diff options
| author | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2021-12-19 23:03:09 -0500 |
|---|---|---|
| committer | Douglas Rumbaugh <doug@douglasrumbaugh.com> | 2021-12-19 23:03:09 -0500 |
| commit | 4ebfcc2fdc9a48067a149652b91e6103e1f048c3 (patch) | |
| tree | 2d7d49dfad38ed6e68a354708d63589006d5c996 /config.mk | |
| parent | 35633d45672d14bd798c478c45d1a17064701aa9 (diff) | |
| download | slock-4ebfcc2fdc9a48067a149652b91e6103e1f048c3.tar.gz | |
Applied Xresources patch
https://tools.suckless.org/slock/patches/xresources/
Diffstat (limited to 'config.mk')
| -rw-r--r-- | config.mk | 16 |
1 files changed, 12 insertions, 4 deletions
@@ -10,13 +10,21 @@ MANPREFIX = ${PREFIX}/share/man X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib +# Xinerama +XINERAMALIBS = -lXinerama +XINERAMAFLAGS = -DXINERAMA + +# freetype +FREETYPELIBS = -lXft +FREETYPEINC = /usr/include/freetype2 + # includes and libs -INCS = -I. -I/usr/include -I${X11INC} -LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext -lXrandr +INCS = -I. -I/usr/include -I${X11INC} -I${FREETYPEINC} +LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXext -lXrandr -lImlib2 # flags -CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H -CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H ${XINERAMAFLAGS} +CFLAGS = -std=c99 -pedantic -Wall -Ofast ${INCS} ${CPPFLAGS} LDFLAGS = -s ${LIBS} COMPATSRC = explicit_bzero.c |