config.mk
author Anselm R. Garbe <garbeam@gmail.com>
Sun, 23 Sep 2007 11:24:42 +0200
changeset 1010 adfa9f41eedd
parent 990 70f6fcd100b7
child 1027 0735e86bbd49
permissions -rw-r--r--
btw 4.6 will be the next release
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
1010
adfa9f41eedd btw 4.6 will be the next release
Anselm R. Garbe <garbeam@gmail.com>
parents: 990
diff changeset
     2
VERSION = 4.6
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
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    13
# includes and libs
303
1120bd29a275 applied another config.mk patch made by sander
Anselm R.Garbe <arg@10ksloc.org>
parents: 300
diff changeset
    14
INCS = -I. -I/usr/include -I${X11INC}
143
36cabfe408cd applied Sanders patches
arg@10ksloc.org
parents: 134
diff changeset
    15
LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
0
491f34c11291 initial import
Anselm R. Garbe <garbeam@wmii.de>
parents:
diff changeset
    16
148
5267e1204367 uppercasing all define'd values (uppercase-prefixed should only be enum field qualifiers)
arg@10ksloc.org
parents: 146
diff changeset
    17
# flags
199
955b4f217c2d using -Os again, zoom is ignored in floating mode or on floating clients
arg@10ksloc.org
parents: 193
diff changeset
    18
CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\"
882
9c7fba655d72 removed strip, added -s to LDFLAGS
Anselm R. Garbe <arg@suckless.org>
parents: 881
diff changeset
    19
LDFLAGS = -s ${LIBS}
972
c39d60829f67 reverted release CFLAGs
Anselm R. Garbe <garbeam@gmail.com>
parents: 971
diff changeset
    20
#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
c39d60829f67 reverted release CFLAGs
Anselm R. Garbe <garbeam@gmail.com>
parents: 971
diff changeset
    21
#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
    22
636
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    23
# Solaris
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    24
#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\"
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    25
#LDFLAGS = ${LIBS}
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    26
#CFLAGS += -xtarget=ultra
4c5bf6369e90 added Solaris hints
arg@mig29
parents: 626
diff changeset
    27
268
a47b3b0d7bf4 applied Sanders LD and resize patches
Anselm R.Garbe <arg@10ksloc.org>
parents: 255
diff changeset
    28
# 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
    29
CC = cc