config.mk
author Stiletto <blasux@blasux.ru>
Wed, 02 Apr 2014 20:49:20 +0400
branchstil
changeset 1541 16039d3a6270
parent 1540 e8a43c5bbc46
permissions -rw-r--r--
Fix broken merge
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
1539
e2a9bd720b6e Imported dwm 6.0 from snapshot
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
     2
VERSION = 6.0
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
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     6
# paths
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     7
PREFIX = /usr/local
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     8
MANPREFIX = ${PREFIX}/share/man
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
     9
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    10
X11INC = /usr/X11R6/include
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    11
X11LIB = /usr/X11R6/lib
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    12
1506
f179c8c351bb removed misleading comment, thanks Romain Bertrand
Anselm R Garbe <garbeam@gmail.com>
parents: 1504
diff changeset
    13
# Xinerama
1437
bb00510a176a several bugfixes
Anselm R Garbe <anselm@garbe.us>
parents: 1436
diff changeset
    14
XINERAMALIBS = -L${X11LIB} -lXinerama
bb00510a176a several bugfixes
Anselm R Garbe <anselm@garbe.us>
parents: 1436
diff changeset
    15
XINERAMAFLAGS = -DXINERAMA
1215
840fd59e3141 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
Anselm R Garbe <garbeam@gmail.com>
parents: 1208
diff changeset
    16
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    17
# includes and libs
1531
606ac98e35df Pango patch,
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
    18
INCS = -I. -I/usr/include -I${X11INC} `pkg-config --cflags xft pango pangoxft`
606ac98e35df Pango patch,
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
    19
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS} `pkg-config --libs xft pango pangoxft`
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    20
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    21
# flags
1215
840fd59e3141 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
Anselm R Garbe <garbeam@gmail.com>
parents: 1208
diff changeset
    22
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS}
1539
e2a9bd720b6e Imported dwm 6.0 from snapshot
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
    23
#CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
e2a9bd720b6e Imported dwm 6.0 from snapshot
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
    24
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
e2a9bd720b6e Imported dwm 6.0 from snapshot
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
    25
#LDFLAGS = -g ${LIBS}
e2a9bd720b6e Imported dwm 6.0 from snapshot
Stiletto <blasux@blasux.ru>
parents: 1524
diff changeset
    26
LDFLAGS = -s ${LIBS}
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    27
636
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    28
# Solaris
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    29
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    30
#LDFLAGS = ${LIBS}
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    31
268
a47b3b0d7bf4 applied Sanders LD and resize patches
Anselm R.Garbe <arg@10ksloc.org>
parents: 255
diff changeset
    32
# 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
    33
CC = cc