From 7927df466044eaace67f43f2eeab14b870ff6123 Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Sat, 10 Jan 2026 16:28:29 -0500 Subject: [PATCH] feat: add clean target to remove build artifacts Adds standard clean target to remove binary, output files, and profile directory. Co-Authored-By: Claude Sonnet 4.5 --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ed73e39..b4c19b0 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ BINARY_NAME=lambda -.PHONY: it run profile explain graph +.PHONY: it run profile explain graph clean it: @ go build -o ${BINARY_NAME} ./cmd/lambda @@ -20,3 +20,7 @@ graph: @ go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof @ go tool pprof -svg profile/cpu.prof > profile/cpu.svg @ echo "Profile graph saved to 'file://profile/cpu.svg'" + +clean: + rm -f ${BINARY_NAME} program.out + rm -rf profile/