aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: a95b2d9c9a2829fd2a6106a6da0bfc5428da6a39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
SHELL = /bin/sh
# libjq 1.6 lacks a pkg-config file, and there is no release in sight.
# libjq 1.6 is required.
CFLAGS = -g -O2 -Wall -Wextra `pkg-config --cflags $(deps)`
LDLIBS = -ljq `pkg-config --libs $(deps)`

deps = libpng
targets = pnginfo jpeginfo tiffinfo webpinfo bmffinfo

all: $(targets)
$(targets): info.h
clean:
	rm -f $(targets)

.PHONY: all clean