config.mk (819B)
1# sent version 2VERSION = 1 3 4# Customize below to fit your system 5 6# paths 7PREFIX = /usr/local 8MANPREFIX = ${PREFIX}/share/man 9 10X11INC = /usr/X11R6/include 11X11LIB = /usr/X11R6/lib 12 13# includes and libs 14INCS = -I. -I/usr/include -I/usr/include/freetype2 -I${X11INC} 15LIBS = -L/usr/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 16# OpenBSD (uncomment) 17#INCS = -I. -I${X11INC} -I${X11INC}/freetype2 18# FreeBSD (uncomment) 19#INCS = -I. -I/usr/local/include -I/usr/local/include/freetype2 -I${X11INC} 20#LIBS = -L/usr/local/lib -lc -lm -L${X11LIB} -lXft -lfontconfig -lX11 21 22# flags 23CPPFLAGS = -DVERSION=\"${VERSION}\" -D_XOPEN_SOURCE=600 24CFLAGS += -g -std=c99 -pedantic -Wall ${INCS} ${CPPFLAGS} 25LDFLAGS += -g ${LIBS} 26#CFLAGS += -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} 27#LDFLAGS += ${LIBS} 28 29# compiler and linker 30CC ?= cc