YE! ACTUALIZAT MAKEFILE PA WINDOWS ALTRA VOLTA. PUTA IA

This commit is contained in:
2025-08-11 20:30:59 +02:00
parent e667063767
commit e950eb335d

View File

@@ -12,8 +12,12 @@ RELEASE_FOLDER := ccae_release
RELEASE_FILE := $(RELEASE_FOLDER)/$(TARGET_NAME)
RESOURCE_FILE := release/coffee.res
# Versión automática basada en la fecha actual
VERSION := $(shell date +%Y-%m-%d)
# Versión automática basada en la fecha actual (específica por SO)
ifeq ($(OS),Windows_NT)
VERSION := $(shell powershell -Command "Get-Date -Format 'yyyy-MM-dd'")
else
VERSION := $(shell date +%Y-%m-%d)
endif
# Variables específicas para Windows (usando APP_NAME)
ifeq ($(OS),Windows_NT)