aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'makefile')
-rw-r--r--makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/makefile b/makefile
new file mode 100644
index 0000000..3b1abff
--- /dev/null
+++ b/makefile
@@ -0,0 +1,4 @@
+all: $(patsubst %-full.jpg,%-thumb.jpg, $(wildcard public/img/product/*-full.jpg))
+
+public/img/product/%-thumb.jpg: public/img/product/%-full.jpg
+ convert -scale 250 $< $@