summaryrefslogtreecommitdiffhomepage
path: root/config.mk
diff options
context:
space:
mode:
authorbakkeby <[email protected]>2020-04-02 09:08:00 +0200
committerbakkeby <[email protected]>2020-04-02 13:08:32 +0200
commit9440e769363162f115547e7a3651029837a426bf (patch)
treeadd72f2f7932df998986dbad217544bc77ff983d /config.mk
parent32030e4b2cfcf544eae37820a8aa6a0c5a099695 (diff)
downloaddwm-flexipatch-9440e769363162f115547e7a3651029837a426bf.tar.gz
dwm-flexipatch-9440e769363162f115547e7a3651029837a426bf.zip
The Xrender library does not need to be included by default, only include when alpha patch is enabled.
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk9
1 files changed, 6 insertions, 3 deletions
diff --git a/config.mk b/config.mk
index 6dbf624..69be9b0 100644
--- a/config.mk
+++ b/config.mk
@@ -20,18 +20,21 @@ FREETYPEINC = /usr/include/freetype2
# OpenBSD (uncomment)
#FREETYPEINC = ${X11INC}/freetype2
+# Uncomment this for the alpha patch / ALPHA_PATCH
+#XRENDER = -lXrender
+
# Uncomment this for the mdpcontrol patch / MDPCONTROL_PATCH
-#LMPDCLIENT = -lmpdclient
+#MPDCLIENT = -lmpdclient
# Uncomment this for the rounded corners patch / ROUNDED_CORNERS_PATCH
#XEXTLIB = -lXext
# Uncomment this for the swallow patch / SWALLOW_PATCH
-#LXCBLIBS = -lX11-xcb -lxcb -lxcb-res
+#XCBLIBS = -lX11-xcb -lxcb -lxcb-res
# includes and libs
INCS = -I${X11INC} -I${FREETYPEINC}
-LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} -lXrender ${LMPDCLIENT} ${LXCBLIBS} ${XEXTLIB}
+LIBS = -L${X11LIB} -lX11 ${XINERAMALIBS} ${FREETYPELIBS} ${XRENDER} ${MPDCLIENT} ${XEXTLIB} ${XCBLIBS}
# flags