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