Files
kisukalat.go/Makefile
2025-08-30 22:02:04 +03:00

14 lines
324 B
Makefile

BINARY=kisurun
BUILD_DIR=build
build: all
@echo "Building $(BINARY)..."
go build -o $(BUILD_DIR)/$(BINARY) .
@echo "Copying templates and static..."
mkdir -p $(BUILD_DIR)/templates
mkdir -p $(BUILD_DIR)/static
cp -r templates/* $(BUILD_DIR)/templates/
cp -r static/* $(BUILD_DIR)/static/
clean:
rm -rf $(BUILD_DIR)