chore: Makefile improvements and cleanup #2

Closed
mvhutz wants to merge 16 commits from chore/makefile-improvements into main
Showing only changes of commit 0d06fac919 - Show all commits

View File

@@ -1,4 +1,4 @@
BINARY_NAME=lambda.exe
BINARY_NAME=lambda
it:
@ go build -o ${BINARY_NAME} ./cmd/lambda
@@ -7,13 +7,13 @@ it:
TEST=simple
run: it
@ ./lambda.exe - < ./samples/$(TEST).txt > program.out
@ ./lambda - < ./samples/$(TEST).txt > program.out
profile: it
@ ./lambda.exe -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
@ ./lambda -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
explain: it
@ ./lambda.exe -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
@ ./lambda -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
graph:
@ go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof