aboutsummaryrefslogtreecommitdiffstats
path: root/config.mk
diff options
context:
space:
mode:
authorgotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-05-24 10:43:37 +0000
committergotmor <gotmor@f2baff5b-bf2c-0410-a398-912abdc3d8b2>2007-05-24 10:43:37 +0000
commitb607cba0a9cb835143e61625ebbe9e1e5750d197 (patch)
treee3c19218d7fac7e5f6d71e56535cc3d7559574d9 /config.mk
parent4ad34ccd36a59c1c5ec2ea9b4263ae6381f3feae (diff)
downloaddzen-b607cba0a9cb835143e61625ebbe9e1e5750d197.tar.gz
dzen-b607cba0a9cb835143e61625ebbe9e1e5750d197.zip
added optional Xinerama support, thanks David Glasser
git-svn-id: http://dzen.googlecode.com/svn/trunk@29 f2baff5b-bf2c-0410-a398-912abdc3d8b2
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 2dc1e7b..dff9fd9 100644
--- a/config.mk
+++ b/config.mk
@@ -10,13 +10,19 @@ MANPREFIX = ${PREFIX}/share/man
X11INC = /usr/X11R6/include
X11LIB = /usr/X11R6/lib
-# includes and libs
INCS = -I. -I/usr/include -I${X11INC}
+# No Xinerama:
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lpthread
+# With Xinerama:
+#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lpthread -lXinerama
-# flags
+# No Xinerama:
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
+# With Xinerama:
+#CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" -DDZEN_XINERAMA
LDFLAGS = ${LIBS}
+
+# Debugging
#CFLAGS = -g -Wall -O0 ${INCS} -DVERSION=\"${VERSION}\" -DPOSIX_SOURCE
#LDFLAGS = -g ${LIBS}