Rename router_backup to main.go

This commit is contained in:
2025-07-06 10:42:32 +00:00
parent 53087a0816
commit 3a8fdb5378
3 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@
BINARY_NAME=ipng-router-backup
SOURCE_DIR=src
BUILD_DIR=.
GO_FILES=$(SOURCE_DIR)/router_backup.go
GO_FILES=$(SOURCE_DIR)/main.go
# Default target
.PHONY: all
@ -14,7 +14,7 @@ all: build
.PHONY: build
build:
@echo "Building $(BINARY_NAME)..."
cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) router_backup.go
cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) main.go
@echo "Build complete: $(BINARY_NAME)"
# Clean build artifacts