7 lines
238 B
Makefile
7 lines
238 B
Makefile
LIBRARY=src/blurhash-decode.wasm
|
|
$(LIBRARY): blurhash/decode.c
|
|
emcc --no-entry -Wl,--export,decodeToArray -Wl,--export,malloc -Wl,--export,free -Wl,--export,isValidBlurhash -o $@ blurhash/decode.c
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -f $(LIBRARY)
|