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