From 0ecc1996217dcf76a76a8ddd5a85f54945055455 Mon Sep 17 00:00:00 2001 From: Zorglube Date: Tue, 20 Oct 2020 00:39:56 +0200 Subject: [PATCH] Makefile.common: fix stupid mistake --- make/Makefile.common | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make/Makefile.common b/make/Makefile.common index fcaa12e..cef3133 100644 --- a/make/Makefile.common +++ b/make/Makefile.common @@ -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