aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
blob: 9f346886cf90297e1fda1fb62b35ab1880a2f71b (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

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

.PHONY: all clean