Files
common-server-public/archive/bbs-go/server/Makefile
12600k-rog-d4 8f4d399cfd 20251209
2025-12-09 20:33:57 +08:00

30 lines
421 B
Makefile

# Build the application
all: build
build:
@echo "Building..."
@go build -v -o bbs-go main.go
buildlinux:
@echo "Building..."
@GOOS=linux GOARCH=amd64 go build
# Run the application
run:
@go run main.go
# Test the application
test:
@echo "Testing..."
@go test ./...
# Clean the binary
clean:
@echo "Cleaning..."
@rm -f bbs-go
generator:
@go run cmd/generator/generator.go
.PHONY: all build run test clean