aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'fly-tools/config.mk')
-rw-r--r--fly-tools/config.mk23
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++