config.mk (594B)
1 # sandy version 2 VERSION = 0.6 3 4 # Customize below to fit your system 5 6 # paths 7 PREFIX = /usr/local 8 MANPREFIX = ${PREFIX}/share/man 9 10 # includes and libs (ncurses) 11 INCS = -I. -I/usr/include 12 LIBS = -L/usr/lib -lc -lncurses 13 14 # flags 15 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_POSIX_C_SOURCE=200809L 16 #CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 17 #LDFLAGS = -s ${LIBS} 18 CFLAGS = -ggdb -std=c99 -pedantic -Wall -Wextra -pedantic -O0 ${INCS} ${CPPFLAGS} 19 LDFLAGS = ${LIBS} 20 21 # Solaris 22 #CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" 23 #LDFLAGS = ${LIBS} 24 25 # compiler and linker 26 CC = cc