diff --git a/plugins/examples/Makefile b/plugins/examples/Makefile index eddcd87ab..ee1548217 100644 --- a/plugins/examples/Makefile +++ b/plugins/examples/Makefile @@ -5,6 +5,18 @@ PLUGINS := $(patsubst %/go.mod,%,$(wildcard */go.mod)) # Prefer tinygo if available, it produces smaller wasm binaries. TINYGO := $(shell command -v tinygo 2> /dev/null) +# Default target: show available plugins +.DEFAULT_GOAL := help + +help: + @echo "Available plugins:" + @$(foreach p,$(PLUGINS),echo " $(p)";) + @echo "" + @echo "Usage:" + @echo " make Build a specific plugin (e.g., make $(firstword $(PLUGINS)))" + @echo " make all Build all plugins" + @echo " make clean Remove all built plugins" + all: $(PLUGINS:%=%.wasm) clean: