diff --git a/Makefile b/Makefile index c6716d0..8cf12ad 100644 --- a/Makefile +++ b/Makefile @@ -7,6 +7,8 @@ win: resources/win/mmseqs.bat resources/win/mmseqs-web-backend.exe resources/win mac: resources/mac/mmseqs-sse41 resources/mac/mmseqs-avx2 resources/mac/mmseqs-web-backend resources/mac/cpu-check linux: resources/linux/mmseqs-sse41 resources/linux/mmseqs-avx2 resources/linux/mmseqs-web-backend resources/linux/cpu-check +mmseqshash := 879703227b3fbb8afc4b4cde473b1bb88e8aee72 + resources/icons/256x256.png: mkdir -p resources/icons ./node_modules/.bin/svg2png frontend/assets/marv1-square.svg --output=resources/icons/256x256.png --width=256 --height=256 @@ -46,27 +48,27 @@ resources/win/cpu-check.exe: resources/mac/mmseqs-sse41: mkdir -p resources/mac - cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-osx-static_sse41.tar.gz\ + cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-osx-static_sse41.tar.gz\ && tar --strip-components=2 -xf mmseqs.tar.gz mmseqs/bin/mmseqs && mv mmseqs mmseqs-sse41 && rm mmseqs.tar.gz resources/mac/mmseqs-avx2: mkdir -p resources/mac - cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-osx-static_avx2.tar.gz \ + cd resources/mac && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-osx-static_avx2.tar.gz \ && tar --strip-components=2 -xf mmseqs.tar.gz mmseqs/bin/mmseqs && mv mmseqs mmseqs-avx2 && rm mmseqs.tar.gz resources/linux/mmseqs-sse41: mkdir -p resources/linux - cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-static_sse41.tar.gz \ + cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-static_sse41.tar.gz \ && tar --strip-components=2 -xf mmseqs.tar.gz mmseqs2/bin/mmseqs && mv mmseqs mmseqs-sse41 && rm mmseqs.tar.gz resources/linux/mmseqs-avx2: mkdir -p resources/linux - cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/latest/mmseqs-static_avx2.tar.gz \ + cd resources/linux && wget -nv -O mmseqs.tar.gz https://mmseqs.com/archive/$(mmseqshash)/mmseqs-static_avx2.tar.gz \ && tar --strip-components=2 -xf mmseqs.tar.gz mmseqs2/bin/mmseqs && mv mmseqs mmseqs-avx2 && rm mmseqs.tar.gz resources/win/mmseqs.bat: mkdir -p resources/win - cd resources/win && wget -nv https://mmseqs.com/latest/mmseqs-win64.zip && unzip mmseqs-win64.zip && mv mmseqs/* . && rmdir mmseqs && rm mmseqs-win64.zip + cd resources/win && wget -nv https://mmseqs.com/archive/$(mmseqshash)/mmseqs-win64.zip && unzip mmseqs-win64.zip && mv mmseqs/* . && rmdir mmseqs && rm mmseqs-win64.zip clean: rm -f build/icons/256x256.png build/icons/icon.icns build/icons/icon.ico