refactor: rename Makefile target from it to build

Renamed the 'it' target to 'build' for better clarity and conventional naming.
Updated all target dependencies (run, profile, explain) to reference the new build target.
This commit is contained in:
2026-01-11 16:02:27 -05:00
parent 72a0afbbc0
commit 099be4ede6

View File

@@ -1,20 +1,20 @@
BINARY_NAME=lambda.exe 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 @ go build -o ${BINARY_NAME} ./cmd/lambda
@ chmod +x ${BINARY_NAME} @ chmod +x ${BINARY_NAME}
TEST=simple TEST=simple
run: it run: build
@ ./lambda.exe - < ./samples/$(TEST).txt > program.out @ ./lambda.exe - < ./samples/$(TEST).txt > program.out
profile: it profile: build
@ ./lambda.exe -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out @ ./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 @ ./lambda.exe -x -p profile/cpu.prof - < ./samples/$(TEST).txt > program.out
graph: graph: