Makefile.common: fix stupid mistake

This commit is contained in:
Zorglube 2020-10-20 00:39:56 +02:00
parent 3a61dc6948
commit 0ecc199621
1 changed files with 1 additions and 1 deletions

View File

@ -18,7 +18,7 @@ MovieNight: *.go common/*.go
GOOS=${GOOS} GOARCH=${ARCH} go$(GO_VERSION) build -o MovieNight${EXT} $(TAGS)
static/js/wasm_exec.js:
$$(go env GOROOT)/misc/wasm/wasm_exec.js $@
cp $$(go env GOROOT)/misc/wasm/wasm_exec.js $@
static/main.wasm: static/js/wasm_exec.js wasm/*.go common/*.go
GOOS=js GOARCH=wasm go$(GO_VERSION) build -o $@ $(TAGS) wasm/*.go