diff options
author | mutantturkey <mutantturke@gmail.com> | 2012-06-14 23:36:25 -0400 |
---|---|---|
committer | mutantturkey <mutantturke@gmail.com> | 2012-06-14 23:36:25 -0400 |
commit | 68eed608949b3b2ecb3d87a72886ae917ff7bc0f (patch) | |
tree | d38f017864be9df1bef9d8101ae2667e3bcf6e7c /fly-tools/config.mk | |
parent | 689957f1725f38e2ecb7b5d2f8085e60317b958c (diff) |
initial makefile for fly-tools, still broken
Diffstat (limited to 'fly-tools/config.mk')
-rw-r--r-- | fly-tools/config.mk | 23 |
1 files changed, 23 insertions, 0 deletions
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++ |