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