2023-08-12 09:14:14 +00:00
|
|
|
LIBRARY=src/blurhash-decode.wasm
|
|
|
|
$(LIBRARY): blurhash/decode.c
|
2023-08-15 02:24:20 +00:00
|
|
|
emcc -ffast-math -O3 --no-entry -Wl,--export,decodeToArray -Wl,--export,malloc -Wl,--export,free -Wl,--export,isValidBlurhash -o $@ blurhash/decode.c
|
2023-08-12 09:14:14 +00:00
|
|
|
|
|
|
|
.PHONY: clean
|
|
|
|
clean:
|
|
|
|
rm -f $(LIBRARY)
|