14 lines
284 B
Makefile
14 lines
284 B
Makefile
|
SHELL = /bin/sh
|
||
|
# libjq 1.6 lacks a pkg-config file, and there is no release in sight.
|
||
|
CFLAGS = -g -O2 -Wall -Wextra `pkg-config --cflags $(deps)`
|
||
|
LDFLAGS = -ljq `pkg-config --libs $(deps)`
|
||
|
|
||
|
deps = libpng
|
||
|
targets = pnginfo
|
||
|
|
||
|
all: $(targets)
|
||
|
clean:
|
||
|
rm -f $(targets)
|
||
|
|
||
|
.PHONY: all clean
|