wasm: fix Makefile to avoid debuginfo

This commit is contained in:
Ayke van Laethem
2019-05-25 18:31:01 +02:00
committed by Ron Evans
parent f7687c43aa
commit 421ef04efb
+2 -2
View File
@@ -1,10 +1,10 @@
export: clean wasm_exec
tinygo build -o ./html/wasm.wasm -target wasm ./export/wasm.go
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./export/wasm.go
cp ./export/wasm.js ./html/
cp ./export/index.html ./html/
main: clean wasm_exec
tinygo build -o ./html/wasm.wasm -target wasm ./main/main.go
tinygo build -o ./html/wasm.wasm -target wasm -no-debug ./main/main.go
cp ./main/index.html ./html/
wasm_exec: