diff --git a/Makefile b/Makefile index fa74ef9..de2c0fa 100644 --- a/Makefile +++ b/Makefile @@ -1,20 +1,20 @@ BINARY_NAME=lambda.exe -.PHONY: it run profile explain graph docs +.PHONY: build run profile explain graph docs -it: +build: @ go build -o ${BINARY_NAME} ./cmd/lambda @ chmod +x ${BINARY_NAME} TEST=simple -run: it +run: build @ ./lambda.exe - < ./samples/$(TEST).txt > program.out -profile: it +profile: build @ ./lambda.exe -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out -explain: it +explain: build @ ./lambda.exe -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out graph: