diff options
-rw-r--r-- | webp/Makefile.double | 4 | ||||
-rw-r--r-- | webp/Makefile.single | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/webp/Makefile.double b/webp/Makefile.double index 18a1f8b..490fd56 100644 --- a/webp/Makefile.double +++ b/webp/Makefile.double @@ -8,8 +8,8 @@ LOW_OUT_DIR=low_quality HIGH_WEBP_OPT=-near_lossless 60 LOW_WEBP_OPT=-af -pass 6 -psnr 38 -SRC_PNG=$(shell find src/ -type f -iname '*.png') -SRC_WEBP=$(shell find src/ -type f -iname '*.webp') +SRC_PNG=$(shell find ${SRC_DIR}/ -type f -iname '*.png') +SRC_WEBP=$(shell find ${SRC_DIR}/ -type f -iname '*.webp') HIGH_OUT=$(patsubst ${SRC_DIR}/%.png, ${HIGH_OUT_DIR}/%.webp, $(SRC_PNG)) \ $(patsubst ${SRC_DIR}/%.webp, ${HIGH_OUT_DIR}/%.webp, $(SRC_WEBP)) LOW_OUT=$(patsubst ${SRC_DIR}/%.png, ${LOW_OUT_DIR}/%.webp, $(SRC_PNG)) \ diff --git a/webp/Makefile.single b/webp/Makefile.single index c84a4b8..a34f1d2 100644 --- a/webp/Makefile.single +++ b/webp/Makefile.single @@ -5,7 +5,7 @@ SRC_DIR=src OUT_DIR=high_quality WEBP_OPT=-near_lossless 60 -SRC=$(shell find src/ -type f -name '*.png') +SRC=$(shell find ${SRC_DIR}/ -type f -name '*.png') OUT=$(patsubst ${SRC_DIR}/%.png, ${OUT_DIR}/%.webp, $(SRC)) .PHONY: all clean |