From 68eed608949b3b2ecb3d87a72886ae917ff7bc0f Mon Sep 17 00:00:00 2001 From: mutantturkey Date: Thu, 14 Jun 2012 23:36:25 -0400 Subject: initial makefile for fly-tools, still broken --- fly-tools/config.mk | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 fly-tools/config.mk (limited to 'fly-tools/config.mk') diff --git a/fly-tools/config.mk b/fly-tools/config.mk new file mode 100644 index 0000000..e41bf88 --- /dev/null +++ b/fly-tools/config.mk @@ -0,0 +1,23 @@ +VERSION = 0.0.1 + +# Customize below to fit your system + +# paths +PREFIX = /usr +MANPREFIX = ${PREFIX}/share/man + + +# includes and libs + +GTKINC=$(shell pkg-config --cflags gtk+-2.0 vte ) +GTKLIB=$(shell pkg-config --libs gtk+-2.0 vte ) + +INCS = -I. -I/usr/include $(pkg-config --cflags Magick++ gsl) +LIBS = -L/usr/lib -lc $(pkg-config --libs Magick++ gsl) +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" +CFLAGS = -mtune=native -std=gnu99 -O2 -s ${INCS} ${CPPFLAGS} +LDFLAGS = -s ${LIBS} + +# compiler and linker +CC = g++ -- cgit v1.2.3