legalgo-BE-go/makefile
2025-02-23 13:04:30 +08:00

17 lines
277 B
Makefile

BINARY_NAME=./cmd/legalgo/main.go
OUTPUT_DIR=./bin/legalgo
all: build
build:
@echo "Building the Go project..."
go build -o $(OUTPUT_DIR) $(BINARY_NAME)
run: build
@echo "Building and running..."
$(OUTPUT_DIR)
clean:
@echo "Cleaning the build..."
rm -f $(OUTPUT_DIR)