From db91d5948135d73c98bcd5b1eb36639b5fb58653 Mon Sep 17 00:00:00 2001 From: Pim van Pelt Date: Sun, 6 Jul 2025 17:20:10 +0200 Subject: [PATCH] Update Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 7e40b73..5c50cf8 100644 --- a/Makefile +++ b/Makefile @@ -4,7 +4,7 @@ BINARY_NAME=ipng-router-backup SOURCE_DIR=src BUILD_DIR=. -GO_FILES=$(SOURCE_DIR)/main.go +GO_FILES=$(SOURCE_DIR)/*.go # Default target .PHONY: all @@ -22,7 +22,7 @@ sync-version: .PHONY: build build: sync-version @echo "Building $(BINARY_NAME)..." - cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) main.go + cd $(SOURCE_DIR) && go build -o ../$(BUILD_DIR)/$(BINARY_NAME) . @echo "Build complete: $(BINARY_NAME)" # Clean build artifacts