zathura/ft/djvu/config.mk
2011-03-05 22:11:08 +01:00

22 lines
400 B
Makefile

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