aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/Makefile')
-rw-r--r--tools/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/tools/Makefile b/tools/Makefile
new file mode 100644
index 0000000..d024620
--- /dev/null
+++ b/tools/Makefile
@@ -0,0 +1,13 @@
+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