aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eugene@eug-vs.xyz>2021-08-14 01:44:25 +0300
committereug-vs <eugene@eug-vs.xyz>2021-08-14 01:44:25 +0300
commit0e389c59bb061f8eb32b102e7073ff0eb1d934ee (patch)
treec7407fdf74db0c9dd896aa82c8625fbf861c809a
parentfba651a0e4a497edf6582f4393d53392364a670b (diff)
downloadtelegram-based-wojak-0e389c59bb061f8eb32b102e7073ff0eb1d934ee.tar.gz
refactor: generalize view command
-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