config.mk
author Stiletto <blasux@blasux.ru>
Sat, 12 Feb 2011 13:45:55 +0300
changeset 0 56281d90869c
child 3 38269b62d856
permissions -rw-r--r--
Initial commit
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     1
# dwm version
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     2
VERSION = 5.9
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     3
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     4
# Customize below to fit your system
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     5
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     6
# paths
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     7
PREFIX = /usr/local
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     8
MANPREFIX = ${PREFIX}/share/man
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
     9
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    10
# includes and libs
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    11
INCS = -I. -I/usr/include
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    12
LIBS = -L/usr/lib -lc -lmagic `xapian-config --libs` `pcre-config --libs-cpp`
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    13
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    14
# flags
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    15
CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -D_BSD_SOURCE=1
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    16
CFLAGS = -g -std=c++0x -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    17
#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    18
LDFLAGS = -g ${LIBS}
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    19
#LDFLAGS = -s ${LIBS}
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    20
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    21
OBJS = walker.o scan.o
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    22
# magi.o
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    23
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    24
# compiler and linker
56281d90869c Initial commit
Stiletto <blasux@blasux.ru>
parents:
diff changeset
    25
CC = cc