2021-10-01 11:37:50 +02:00
|
|
|
SHELL = /bin/sh
|
|
|
|
# libjq 1.6 lacks a pkg-config file, and there is no release in sight.
|
2021-12-05 16:08:12 +01:00
|
|
|
# libjq 1.6 is required.
|
2021-12-10 16:48:23 +01:00
|
|
|
CFLAGS = -g -O2 -Wall -Wextra `pkg-config --cflags $(deps)`
|
2021-11-01 04:26:20 +01:00
|
|
|
LDLIBS = -ljq `pkg-config --libs $(deps)`
|
2021-10-01 11:37:50 +02:00
|
|
|
|
|
|
|
deps = libpng
|
2021-12-14 01:20:52 +01:00
|
|
|
targets = pnginfo jpeginfo tiffinfo webpinfo bmffinfo
|
2021-10-01 11:37:50 +02:00
|
|
|
|
|
|
|
all: $(targets)
|
2021-12-10 16:48:23 +01:00
|
|
|
$(targets): info.h
|
2021-10-01 11:37:50 +02:00
|
|
|
clean:
|
|
|
|
rm -f $(targets)
|
|
|
|
|
|
|
|
.PHONY: all clean
|