config.mk
author Anselm R. Garbe <garbeam@gmail.com>
Wed, 22 Aug 2007 19:01:05 +0200
changeset 971 b2a0dfa22b1d
parent 967 66f17bf2c278
child 972 c39d60829f67
permissions -rw-r--r--
removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
160
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     1
# dwm version
927
60d5a92ce85c changed ban/unban implementation to not move the windows anymore, but map/unmap them instead - PLEASE TEST THIS
Anselm R. Garbe <garbeam@gmail.com>
parents: 912
diff changeset
     2
VERSION = 4.4
160
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     3
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     4
# Customize below to fit your system
c8db0a825775 applied Sanders patches (numlock2)
arg@10ksloc.org
parents: 148
diff changeset
     5
944
bd5cf635c601 moved floating to layout.c, kept tile.c outside
Anselm R. Garbe <garbeam@gmail.com>
parents: 943
diff changeset
     6
# additional layouts beside floating
bd5cf635c601 moved floating to layout.c, kept tile.c outside
Anselm R. Garbe <garbeam@gmail.com>
parents: 943
diff changeset
     7
SRC = tile.c
941
8c93b982f22e separated layout-specific stuff into separate .h and .c files which are included in config.h resp. config.mk - this allows writing layouts for dwm without any need to patch existing code
Anselm R. Garbe <garbeam@gmail.com>
parents: 927
diff changeset
     8
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     9
# paths
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    10
PREFIX = /usr/local
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    11
MANPREFIX = ${PREFIX}/share/man
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    12
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    13
X11INC = /usr/X11R6/include
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    14
X11LIB = /usr/X11R6/lib
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    15
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    16
# includes and libs
303
1120bd29a275 applied another config.mk patch made by sander
Anselm R.Garbe <arg@10ksloc.org>
parents: 300
diff changeset
    17
INCS = -I. -I/usr/include -I${X11INC}
143
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
    18
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    19
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    20
# flags
199
955b4f217c2d using -Os again, zoom is ignored in floating mode or on floating clients
arg@10ksloc.org
parents: 193
diff changeset
    21
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
882
9c7fba655d72 removed strip, added -s to LDFLAGS
Anselm R. Garbe <arg@suckless.org>
parents: 881
diff changeset
    22
LDFLAGS = -s ${LIBS}
971
b2a0dfa22b1d removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Anselm R. Garbe <garbeam@gmail.com>
parents: 967
diff changeset
    23
CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
b2a0dfa22b1d removed the _DWM_PROPERTIES handling, reverted ban/unban to XMoveWindow(), and changed argument of setlayout to layout[N].symbol check
Anselm R. Garbe <garbeam@gmail.com>
parents: 967
diff changeset
    24
LDFLAGS = -g ${LIBS}
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    25
636
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    26
# Solaris
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    27
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    28
#LDFLAGS = ${LIBS}
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    29
#CFLAGS += -xtarget=ultra
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    30
268
a47b3b0d7bf4 applied Sanders LD and resize patches
Anselm R.Garbe <arg@10ksloc.org>
parents: 255
diff changeset
    31
# compiler and linker
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    32
CC = cc