arreglada la carpeta tools

eliminat frameworks sobrants (reduix prou el executable de macos)
This commit is contained in:
2026-03-23 08:37:40 +01:00
parent d80c673882
commit 81daf725d5
25 changed files with 12 additions and 12 deletions

4
.gitignore vendored
View File

@@ -23,5 +23,5 @@ release/windows/coffee.res
resources.pack
# Herramienta pack_resources (todas las plataformas)
tools/pack_resources
tools/pack_resources.exe
tools/pack_resources/pack_resources
tools/pack_resources/pack_resources.exe

View File

@@ -16,13 +16,13 @@ RESOURCE_FILE := release/windows/coffee.res
# Variables para herramienta de empaquetado
ifeq ($(OS),Windows_NT)
PACK_TOOL := $(DIR_TOOLS)pack_resources.exe
PACK_TOOL := $(DIR_TOOLS)pack_resources/pack_resources.exe
PACK_CXX := $(CXX)
else
PACK_TOOL := $(DIR_TOOLS)pack_resources
PACK_TOOL := $(DIR_TOOLS)pack_resources/pack_resources
PACK_CXX := $(CXX)
endif
PACK_SOURCES := $(DIR_TOOLS)pack_resources.cpp $(DIR_SOURCES)resource_pack.cpp
PACK_SOURCES := $(DIR_TOOLS)pack_resources/pack_resources.cpp $(DIR_SOURCES)resource_pack.cpp
PACK_INCLUDES := -I$(DIR_ROOT) -I$(DIR_BUILD)
# Versión automática basada en la fecha actual (específica por SO)

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

@@ -3,8 +3,8 @@
# Variables
CXX := g++
CXXFLAGS := -std=c++20 -Wall -Os -I../
SOURCES := pack_resources.cpp ../source/resource_pack.cpp
CXXFLAGS := -std=c++20 -Wall -Os -I../../
SOURCES := pack_resources.cpp ../../source/resource_pack.cpp
TARGET := pack_resources
CLEAN_FILES := pack_resources *.pack *.o
@@ -41,9 +41,9 @@ clean:
test_pack: pack_tool
@echo "Creando pack de recursos de prueba..."
ifeq ($(OS),Windows_NT)
.\$(TARGET) ..\data test_resources.pack
.\$(TARGET) ..\..\data test_resources.pack
else
./$(TARGET) ../data test_resources.pack
./$(TARGET) ../../data test_resources.pack
endif
@echo "✓ Pack de prueba creado: test_resources.pack"
@@ -51,11 +51,11 @@ endif
create_pack: pack_tool
@echo "Creando pack de recursos final..."
ifeq ($(OS),Windows_NT)
.\$(TARGET) ..\data ..\resources.pack
.\$(TARGET) ..\..\data ..\..\resources.pack
else
./$(TARGET) ../data ../resources.pack
./$(TARGET) ../../data ../../resources.pack
endif
@echo "✓ Pack final creado: ../resources.pack"
@echo "✓ Pack final creado: ../../resources.pack"
# Mostrar ayuda
help: