diff --git a/Makefile b/Makefile index b4c19b0..736991d 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,17 @@ BINARY_NAME=lambda -.PHONY: it run profile explain graph clean +.PHONY: help it run profile explain graph clean + +help: + @ echo "Available targets:" + @ echo " it - Build the lambda binary" + @ echo " run - Build and run with sample input (default: simple.txt)" + @ echo " profile - Build and run with CPU profiling enabled" + @ echo " explain - Run with explanation mode and profiling" + @ echo " graph - Generate CPU profile visualization" + @ echo " clean - Remove build artifacts" + @ echo "" + @ echo "Usage: make run TEST=" it: @ go build -o ${BINARY_NAME} ./cmd/lambda