summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 11 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 41315c5..5692b88 100644
--- a/Makefile
+++ b/Makefile
@@ -2,11 +2,6 @@ null :=
SPACE := $(null) $(null)
FFMPEG ?= ffmpeg -v warning -y
-OPUSENC ?= opusenc
-ZOPFLIPNG ?= zopflipng
-DEFLOPT ?= wine DeflOpt
-DEFLUFF ?= defluff
-PNGQUANT ?= pngquant
CWEBP ?= cwebp
CWEBP += -short -alpha_cleanup
WEBPMUX ?= webpmux
@@ -14,8 +9,17 @@ CONVERT ?= convert
APNGASM ?= apngasm
UGLIFYJS ?= uglifyjs
GRUNT ?= grunt
-#JPEGTRAN ?= jpegtran
-#JPEGRESCAN ?= jpegrescan
+ifdef MINIMAL
+ZOPFLIPNG ?= zopflipng
+DEFLOPT ?= wine DeflOpt
+DEFLUFF ?= defluff
+PNGQUANT ?= pngquant
+else
+ZOPFLIPNG ?= :
+DEFLOPT ?= :
+DEFLUFF ?= :
+PNGQUANT ?= :
+endif
DUMP ?= www/dump