config.mk (613B)
1 NAME = dwmstatus 2 VERSION = 1.0 3 4 # Customize below to fit your system 5 6 # paths 7 PREFIX = /usr 8 MANPREFIX = ${PREFIX}/share/man 9 10 X11INC = /usr/X11R6/include 11 X11LIB = /usr/X11R6/lib 12 13 # includes and libs 14 INCS = -I. -I/usr/include -I${X11INC} 15 LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 16 17 # flags 18 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE 19 CFLAGS = -g -std=c99 -pedantic -Wall -O0 ${INCS} ${CPPFLAGS} 20 #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 21 LDFLAGS = -g ${LIBS} 22 #LDFLAGS = -s ${LIBS} 23 24 # Solaris 25 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" 26 #LDFLAGS = ${LIBS} 27 28 # compiler and linker 29 CC = cc 30