From bb48d0777b4e00b7deab7b5186251e89dd01d88c Mon Sep 17 00:00:00 2001 From: "M.V. Hutz" Date: Sat, 10 Jan 2026 16:29:09 -0500 Subject: [PATCH] fix: ensure profile directory exists before writing Creates profile directory in profile and explain targets to prevent errors on first run. Co-Authored-By: Claude Sonnet 4.5 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 736991d..c082662 100644 --- a/Makefile +++ b/Makefile @@ -22,9 +22,11 @@ run: it @ ./lambda - < ./samples/$(TEST).txt > program.out profile: it + @ mkdir -p profile @ ./lambda -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out explain: it + @ mkdir -p profile @ ./lambda -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out graph: