chore: Makefile improvements and cleanup #2
8
Makefile
8
Makefile
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user