fiv/tools/Makefile

16 lines
345 B
Makefile
Raw Normal View History

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.
# 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
targets = pnginfo jpeginfo tiffinfo
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