refactor: use -f flag in Makefile targets.

This commit is contained in:
2026-01-11 16:40:39 -05:00
parent 82e1570c2c
commit 9ab004bec4

View File

@@ -20,13 +20,13 @@ build:
chmod +x ${BINARY_NAME}
run: build
./${BINARY_NAME} - < ./samples/$(TEST).txt > program.out
./${BINARY_NAME} -f ./samples/$(TEST).txt > program.out
profile: build
./${BINARY_NAME} -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
./${BINARY_NAME} -p profile/cpu.prof -f ./samples/$(TEST).txt > program.out
explain: build
./${BINARY_NAME} -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
./${BINARY_NAME} -x -p profile/cpu.prof -f ./samples/$(TEST).txt > program.out
graph:
go tool pprof -raw -output=profile/cpu.raw profile/cpu.prof