aewl

diff config.mk @ 143:36cabfe408cd

applied Sanders patches
author arg@10ksloc.org
date Tue, 01 Aug 2006 12:32:33 +0200
parents eb8580a97d56
children f328ce9c558c
line diff
     1.1 --- a/config.mk	Tue Aug 01 11:49:19 2006 +0200
     1.2 +++ b/config.mk	Tue Aug 01 12:32:33 2006 +0200
     1.3 @@ -7,24 +7,18 @@
     1.4  X11INC = /usr/X11R6/include
     1.5  X11LIB = /usr/X11R6/lib
     1.6  
     1.7 -VERSION = 0.5
     1.8 +# includes and libs
     1.9 +INCS = -I/usr/lib -I${X11INC}
    1.10 +LIBS = -L/usr/lib -lc -L${X11LIB} -lX11
    1.11  
    1.12 -# includes and libs
    1.13 -LIBS = -L${PREFIX}/lib -L/usr/lib -lc -L${X11LIB} -lX11
    1.14 -
    1.15 -# Linux/BSD
    1.16 -CFLAGS = -O3 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
    1.17 -	-DVERSION=\"${VERSION}\"
    1.18 +# flags
    1.19 +CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\"
    1.20  LDFLAGS = ${LIBS}
    1.21 -#CFLAGS = -g -Wall -O2 -I. -I${PREFIX}/include -I/usr/include -I${X11INC} \
    1.22 -#	-DVERSION=\"${VERSION}\"
    1.23 +#CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\"
    1.24  #LDFLAGS = -g ${LIBS}
    1.25  
    1.26 +# compiler
    1.27 +CC = cc
    1.28  
    1.29 -# Solaris
    1.30 -#CFLAGS = -fast -xtarget=ultra ${INCLUDES} -DVERSION=\"${VERSION}\"
    1.31 -#LIBS += -lnsl -lsocket
    1.32 -
    1.33 -AR = ar cr
    1.34 -CC = cc
    1.35 -RANLIB = ranlib
    1.36 +# dwm version
    1.37 +VERSION = 0.6