config.mk
changeset 0 56281d90869c
child 3 38269b62d856
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/config.mk	Sat Feb 12 13:45:55 2011 +0300
@@ -0,0 +1,25 @@
+# dwm version
+VERSION = 5.9
+
+# Customize below to fit your system
+
+# paths
+PREFIX = /usr/local
+MANPREFIX = ${PREFIX}/share/man
+
+# includes and libs
+INCS = -I. -I/usr/include
+LIBS = -L/usr/lib -lc -lmagic `xapian-config --libs` `pcre-config --libs-cpp`
+
+# flags
+CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -D_BSD_SOURCE=1
+CFLAGS = -g -std=c++0x -pedantic -Wall -O0 ${INCS} ${CPPFLAGS}
+#CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
+LDFLAGS = -g ${LIBS}
+#LDFLAGS = -s ${LIBS}
+
+OBJS = walker.o scan.o
+# magi.o
+
+# compiler and linker
+CC = cc