YE! ACTUALIZAT MAKEFILE PA WINDOWS ALTRA VOLTA. PUTA IA
This commit is contained in:
8
Makefile
8
Makefile
@@ -12,8 +12,12 @@ RELEASE_FOLDER := ccae_release
|
|||||||
RELEASE_FILE := $(RELEASE_FOLDER)/$(TARGET_NAME)
|
RELEASE_FILE := $(RELEASE_FOLDER)/$(TARGET_NAME)
|
||||||
RESOURCE_FILE := release/coffee.res
|
RESOURCE_FILE := release/coffee.res
|
||||||
|
|
||||||
# Versión automática basada en la fecha actual
|
# Versión automática basada en la fecha actual (específica por SO)
|
||||||
VERSION := $(shell date +%Y-%m-%d)
|
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)
|
# Variables específicas para Windows (usando APP_NAME)
|
||||||
ifeq ($(OS),Windows_NT)
|
ifeq ($(OS),Windows_NT)
|
||||||
|
|||||||
Reference in New Issue
Block a user