aboutsummaryrefslogtreecommitdiff
path: root/go/Makefile
diff options
context:
space:
mode:
authorFlorian Fischer <florian.fischer@muhq.space>2025-04-03 21:44:09 -0300
committerFlorian Fischer <florian.fischer@muhq.space>2025-08-20 15:57:14 +0200
commitf4105377e9ecf56819c029bf59cda53ab95eaefa (patch)
tree2b4ae70a9e4121c6dcca3c2609d54b1f625c458e /go/Makefile
parentde38cc3a361dcb2ecfbf595043f088be7ec96e55 (diff)
downloadmuhqs-game-f4105377e9ecf56819c029bf59cda53ab95eaefa.tar.gz
muhqs-game-f4105377e9ecf56819c029bf59cda53ab95eaefa.zip
fix wasm target definition
Diffstat (limited to 'go/Makefile')
-rw-r--r--go/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/Makefile b/go/Makefile
index 8bae628a..5ac3c51a 100644
--- a/go/Makefile
+++ b/go/Makefile
@@ -20,7 +20,7 @@ $(OBJS):
@echo Building $(@F)
@pushd $(@D) >/dev/null && go build && popd >/dev/null
-*/*.wasm:
+$(WASM):
@echo Building $(@F) ...
@pushd $(@D) >/dev/null && env GOOS=js GOARCH=wasm go build -o $(@F) && popd >/dev/null