aboutsummaryrefslogtreecommitdiff
path: root/tools/Makefile
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-10-01 11:37:50 +0200
committerPřemysl Eric Janouch <p@janouch.name>2021-10-01 17:04:39 +0200
commit25871839a2885f5479bdd7efd2e78ca0aa1a7e09 (patch)
tree797e5837c3ed7c7304a3bf547b3b894bd6ed060e /tools/Makefile
parentbbabaabc200a63e3a2816378b2162536b9af43a5 (diff)
downloadfiv-25871839a2885f5479bdd7efd2e78ca0aa1a7e09.tar.gz
fiv-25871839a2885f5479bdd7efd2e78ca0aa1a7e09.tar.xz
fiv-25871839a2885f5479bdd7efd2e78ca0aa1a7e09.zip
Add thumbnail cache inspection tools
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