mirror of
https://github.com/taigrr/wasm-experiments
synced 2025-01-18 04:03:21 -08:00
8 lines
207 B
Makefile
8 lines
207 B
Makefile
build: clean compile
|
|
|
|
clean:
|
|
rm -f ./html/test.wasm
|
|
|
|
compile:
|
|
GOOS=js GOARCH=wasm GOROOT=$(GOPATH)/src/github.com/neelance/go/ $(GOPATH)/src/github.com/neelance/go/bin/go build -o ./html/test.wasm main.go
|