diff --git a/plugins/examples/Makefile b/plugins/examples/Makefile index f84d469d4..eddcd87ab 100644 --- a/plugins/examples/Makefile +++ b/plugins/examples/Makefile @@ -10,7 +10,7 @@ all: $(PLUGINS:%=%.wasm) clean: rm -f $(PLUGINS:%=%.wasm) -%.wasm: %/main.go %/go.mod +%.wasm: %/*.go %/go.mod ifdef TINYGO cd $* && tinygo build -target wasip1 -buildmode=c-shared -o ../$@ . else