config.mk 456 Bytes
Newer Older
1 2 3
# See LICENSE file for license and copyright information
# zathura make config

Moritz Lipp's avatar
Moritz Lipp committed
4
VERSION = 0.0.3
5 6 7 8 9 10

# paths
PREFIX = /usr
MANPREFIX = ${PREFIX}/share/man

# libs
11
GTK_INC = $(shell pkg-config --cflags gtk+-2.0 poppler-glib)
Moritz Lipp's avatar
Moritz Lipp committed
12
GTK_LIB = $(shell pkg-config --libs gtk+-2.0 gthread-2.0 poppler-glib)
13 14

INCS = -I. -I/usr/include ${GTK_INC}
Moritz Lipp's avatar
Moritz Lipp committed
15
LIBS = -lc ${GTK_LIB} -lpthread
16 17

# flags
Moritz Lipp's avatar
Moritz Lipp committed
18
CFLAGS += -std=c99 -pedantic -Wall $(INCS)
19 20 21 22 23

# debug
DFLAGS = -g

# compiler
Moritz Lipp's avatar
Moritz Lipp committed
24
CC ?= gcc