fix build src

This commit is contained in:
2024-12-28 01:50:52 +00:00
parent d689cd0a9a
commit 156c1c13e0
26 changed files with 52 additions and 52 deletions

View File

@@ -1,7 +1,7 @@
program = day-09
GO = go
SRC_DIR := src
CLI_DIR := cmd/cli
BIN_DIR := bin
EXE := $(BIN_DIR)/$(program)
@@ -16,7 +16,7 @@ vet: fmt
$(GO) vet ./...
build: vet | $(BIN_DIR)
$(GO) build -o $(EXE) ./$(SRC_DIR)
$(GO) build -o $(EXE) ./$(CLI_DIR)
bench:
$(GO) test ./internal/one/ -bench=. > internal/one/benchmark