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