diff --git a/Makefile b/Makefile index de2c0fa..7317dd3 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,17 @@ BINARY_NAME=lambda.exe -.PHONY: build run profile explain graph docs +.PHONY: help build run profile explain graph docs + +.DEFAULT_GOAL := help + +help: + @ echo "Available targets:" + @ echo " build - Build the lambda executable" + @ echo " run - Build and run the lambda interpreter (use TEST= to specify sample)" + @ echo " profile - Build and run with CPU profiling enabled" + @ echo " explain - Build and run with explanation mode and profiling" + @ echo " graph - Generate and open CPU profile visualization" + @ echo " docs - Start local godoc server on port 6060" build: @ go build -o ${BINARY_NAME} ./cmd/lambda