config.mk
author Anselm R Garbe <garbeam@gmail.com>
Wed, 05 Mar 2008 18:48:33 +0000
changeset 1124 160af328ab51
parent 1123 76f6c8659f40
child 1147 def76530f636
permissions -rw-r--r--
removed some more useless clunk
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
1069
b61ffb85f691 next version will be 4.8
Anselm R. Garbe <garbeam@gmail.com>
parents: 1045
diff changeset
     2
VERSION = 4.8
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}
1123
76f6c8659f40 implemented the stuff as I discussed on dwm@
Anselm R Garbe <garbeam@gmail.com>
parents: 1111
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}
1124
160af328ab51 removed some more useless clunk
Anselm R Garbe <garbeam@gmail.com>
parents: 1123
diff changeset
    20
#CFLAGS = -g -std=c99 -pedantic -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" -DWORK
160af328ab51 removed some more useless clunk
Anselm R Garbe <garbeam@gmail.com>
parents: 1123
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