mirror of
https://git.pwmt.org/pwmt/zathura.git
synced 2024-11-14 20:33:46 +01:00
22 lines
404 B
Makefile
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
|