Files
lambda/Makefile
M.V. Hutz e0b0b92a8a refactor: remove redundant chmod +x command
Go build already sets the executable bit on binaries, making the
explicit chmod +x unnecessary.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-10 16:27:55 -05:00

21 lines
500 B
Makefile

BINARY_NAME=lambda
it:
@ go build -o ${BINARY_NAME} ./cmd/lambda
TEST=simple
run: it
@ ./lambda - < ./samples/$(TEST).txt > program.out
profile: it
@ ./lambda -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
explain: it
@ ./lambda -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
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'"