summary refs log tree commit diff
path: root/Makefile
diff options
context:
space:
mode:
authoroga <oga>2008-06-19 02:21:30 +0000
committeroga <oga>2008-06-19 02:21:30 +0000
commit6f1ed5bfe3c924c603eae6a0f436dcc9494dd5f0 (patch)
treed5e25255fc177e573eab4e439199c5f458534181 /Makefile
parente21e7680e499e3b2361b6742581139aababe2a42 (diff)
downloadcwm-6f1ed5bfe3c924c603eae6a0f436dcc9494dd5f0.tar.gz
cwm-6f1ed5bfe3c924c603eae6a0f436dcc9494dd5f0.tar.xz
cwm-6f1ed5bfe3c924c603eae6a0f436dcc9494dd5f0.zip
Don't link "-lX11 -lXau -lXdmcp" twice.
From Martin Toft, thanks!
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 00b4aca..2f2ee1c 100644
--- a/Makefile
+++ b/Makefile
@@ -10,8 +10,8 @@ SRCS=		calmwm.c screen.c xmalloc.c client.c grab.c menu.c \
 
 CPPFLAGS+=	-I${X11BASE}/include -I${X11BASE}/include/freetype2 -I${.CURDIR}
 
-LDADD+=		-L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp \
-		-lfontconfig -lexpat -lfreetype -lz -lX11 -lXau -lXdmcp -lXext
+LDADD+=		-L${X11BASE}/lib -lXft -lXrender -lX11 -lXau -lXdmcp -lXext \
+		-lfontconfig -lexpat -lfreetype -lz 
 
 MANDIR=		${X11BASE}/man/cat
 MAN=		cwm.1 cwmrc.5