zathura/ft/pdf-poppler/config.mk
2011-03-06 09:22:38 +01:00

22 lines
404 B
Makefile

# See LICENSE file for license and copyright information
# paths
PREFIX ?= /usr
# libs
PDF_INC = $(shell pkg-config --cflags gtk+-2.0 poppler-glib)
PDF_LIB = $(shell pkg-config --libs gtk+-2.0 poppler-glib)
INCS = -I. -I/usr/include ${PDF_INC}
LIBS = -lc ${PDF_LIB}
# flags
CFLAGS += -std=c99 -fPIC -pedantic -Wall -Wno-format-zero-length $(INCS)
# debug
DFLAGS = -g
# compiler
CC ?= gcc
LD ?= ld