From 228cbb68500f24ea5e19b9d7a90694c4eac754df Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Wed, 21 Apr 2010 11:25:42 -0400 Subject: makefile & config.mk --- config.mk | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..316df10 --- /dev/null +++ b/config.mk @@ -0,0 +1,28 @@ +# mocicon version +VERSION = 0.1.4 + +# Customize below to fit your system + +# paths +PREFIX = /usr +MANPREFIX = ${PREFIX}/share/man + + +# includes and libs + +GTKINC=$(shell pkg-config --cflags gtk+-2.0 webkit-1.0) +GTKLIB=$(shell pkg-config --libs gtk+-2.0 webkit-1.0 ) + +INCS = -I. -I/usr/include ${GTKINC} +LIBS = -L/usr/lib -lc ${GTKLIB} +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} +CFLAGS = -std=c99 -O2 ${INCS} ${CPPFLAGS} +LDFLAGS = -s ${LIBS} + +# Solaris +#CFLAGS = -fast ${INCS} -DVERSION=\"${VERSION}\" +#LDFLAGS = ${LIBS} + +# compiler and linker +CC = cc -- cgit v1.2.3