aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 5b657da..4ddf32e 100644
--- a/Makefile
+++ b/Makefile
@@ -4,10 +4,13 @@ OUTPUTS=$(patsubst src/%.png, out/%.png, $(patsubst src/%.jpg, out/%.png, $(SOUR
SIZE=512x512
FUZZ=50%
+VIEW_COMMAND=sxiv -t
+
+
all: $(OUTPUTS)
-open: all
- sxiv -t out
+view: all
+ $(VIEW_COMMAND) out
out/%.png: src/%.*
@mkdir -p out