X-Git-Url: https://git.danieliu.xyz/?a=blobdiff_plain;f=config.mk;h=771082ac0699d9567506b7d34bd2e05b898d56c9;hb=507c030b5b9aac65324df64eafa2863495bb0783;hp=27e1e2ee7eae9e6eb3182662b0d53690e1b7e915;hpb=a8f4930e54da43027712eec5e0400ad809559ce3;p=dmenu.git diff --git a/config.mk b/config.mk index 27e1e2e..771082a 100644 --- a/config.mk +++ b/config.mk @@ -1,5 +1,5 @@ # dmenu version -VERSION = 0.1 +VERSION = 2.0 # Customize below to fit your system @@ -11,14 +11,20 @@ X11INC = /usr/X11R6/include X11LIB = /usr/X11R6/lib # includes and libs -INCS = -I/usr/lib -I${X11INC} +INCS = -I. -I/usr/include -I${X11INC} LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 # flags -CFLAGS = -O3 ${INCS} -DVERSION=\"${VERSION}\" +CFLAGS = -Os ${INCS} -DVERSION=\"${VERSION}\" LDFLAGS = ${LIBS} #CFLAGS = -g -Wall -O2 ${INCS} -DVERSION=\"${VERSION}\" #LDFLAGS = -g ${LIBS} -# compiler +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} +#CFLAGS += -xtarget=ultra + +# compiler and linker CC = cc +LD = ${CC}