config.mk
author Anselm R Garbe <garbeam@gmail.com>
Fri, 29 Aug 2008 11:29:42 +0100
branchmerge
changeset 1349 56c2529afeab
parent 1317 40cd44593977
child 1361 41678fc29f2a
permissions -rw-r--r--
fixed
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
1317
40cd44593977 made readin a config.h variable
Anselm R Garbe <garbeam@gmail.com>
parents: 1289
diff changeset
     2
VERSION = 5.2
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
1217
a9e108d5ee0d fixed comment
Anselm R Garbe <garbeam@gmail.com>
parents: 1215
diff changeset
    13
# Xinerama, comment if you don't want it
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
    14
XINERAMALIBS = -L${X11LIB} -lXinerama
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
    15
XINERAMAFLAGS = -DXINERAMA
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
303
1120bd29a275 applied another config.mk patch made by sander
Anselm R.Garbe <arg@10ksloc.org>
parents: 300
diff changeset
    18
INCS = -I. -I/usr/include -I${X11INC}
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
    19
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 ${XINERAMALIBS}
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}
1260
2d3d08d2dd19 applied anydot's patchset.diff
Anselm R Garbe <garbeam@gmail.com>
parents: 1224
diff changeset
    23
CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
2d3d08d2dd19 applied anydot's patchset.diff
Anselm R Garbe <garbeam@gmail.com>
parents: 1224
diff changeset
    24
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
    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
268
a47b3b0d7bf4 applied Sanders LD and resize patches
Anselm R.Garbe <arg@10ksloc.org>
parents: 255
diff changeset
    30
# 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
    31
CC = cc