diff options
| author | Anselm R Garbe <garbeam@gmail.com> | 2008-05-19 15:05:46 +0100 |
|---|---|---|
| committer | Anselm R Garbe <garbeam@gmail.com> | 2008-05-19 15:05:46 +0100 |
| commit | f22d047d4139ef889e95aabd0103e11357193e5a (patch) | |
| tree | 2dbb4fd896339ff199b06095eaf524bf3dba9b1d /config.mk | |
| parent | improving space usage if master is left of stack (default) (diff) | |
| download | dwm-f22d047d4139ef889e95aabd0103e11357193e5a.tar.gz dwm-f22d047d4139ef889e95aabd0103e11357193e5a.zip | |
make it easier for the user, if Xinerama support is given, always use the screen 0 as window area/bar area, everything else can be used for floating clients
Diffstat (limited to '')
| -rw-r--r-- | config.mk | 11 |
1 files changed, 8 insertions, 3 deletions
| @@ -10,14 +10,19 @@ MANPREFIX = ${PREFIX}/share/man | |||
| 10 | X11INC = /usr/X11R6/include | 10 | X11INC = /usr/X11R6/include |
| 11 | X11LIB = /usr/X11R6/lib | 11 | X11LIB = /usr/X11R6/lib |
| 12 | 12 | ||
| 13 | # Xinerama, uncomment if you don't want it | ||
| 14 | XINERAMALIBS = -L${X11LIB} -lXinerama | ||
| 15 | XINERAMAFLAGS = -DXINERAMA | ||
| 16 | |||
| 13 | # includes and libs | 17 | # includes and libs |
| 14 | INCS = -I. -I/usr/include -I${X11INC} | 18 | INCS = -I. -I/usr/include -I${X11INC} |
| 15 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 | 19 | LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} |
| 16 | 20 | ||
| 17 | # flags | 21 | # flags |
| 18 | CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" | 22 | CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} |
| 23 | CFLAGS = -Os ${INCS} ${CPPFLAGS} | ||
| 19 | LDFLAGS = -s ${LIBS} | 24 | LDFLAGS = -s ${LIBS} |
| 20 | #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" | 25 | #CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} ${CPPFLAGS} |
| 21 | #LDFLAGS = -g ${LIBS} | 26 | #LDFLAGS = -g ${LIBS} |
| 22 | 27 | ||
| 23 | # Solaris | 28 | # Solaris |
