aboutsummaryrefslogtreecommitdiff
path: root/fly-tools/config.mk
blob: e41bf889fb80821563a41f5688412e5c3e3d05c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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++