about summary refs log tree commit diff stats
path: root/config.mk
diff options
context:
space:
mode:
authorarg@10ksloc.org <unknown>2006-08-01 12:32:33 +0200
committerarg@10ksloc.org <unknown>2006-08-01 12:32:33 +0200
commit7b5638f61d5c8b5a76bc3f7a5962cb7490da3b6b (patch)
tree4f002a641211db4af64bd925497d56469082b712 /config.mk
parent937cabfa0aad7eef6d25e9d142a478163de200c5 (diff)
downloaddwm-7b5638f61d5c8b5a76bc3f7a5962cb7490da3b6b.tar.gz
applied Sanders patches
Diffstat (limited to 'config.mk')
-rw-r--r--config.mk24
1 files changed, 9 insertions, 15 deletions
diff --git a/config.mk b/config.mk
index 605f462..d4ae17e 100644
--- a/config.mk
+++ b/config.mk
@@ -7,24 +7,18 @@ MANPREFIX = ${PREFIX}/share/man
 X11INC = /usr/X11R6/include
 X11LIB = /usr/X11R6/lib
 
-VERSION = 0.5
-
 # includes and libs
-LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
+INCS = -I/usr/lib -I${X11INC}
+LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
 
-# Linux/BSD
-CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-	-DVERSION=\"${VERSION}\"
+# flags
+CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\"
 LDFLAGS = ${LIBS}
-#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
-#	-DVERSION=\"${VERSION}\"
+#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
 #LDFLAGS = -g ${LIBS}
 
-
-# Solaris
-#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
-#LIBS += -lnsl -lsocket
-
-AR = ar cr
+# compiler
 CC = cc
-RANLIB = ranlib
+
+# dwm version
+VERSION = 0.6