corregit makefile

This commit is contained in:
2025-11-16 17:54:52 +01:00
parent b290cee689
commit 9110d689a5

View File

@@ -35,10 +35,11 @@ LINUX_RELEASE := $(TARGET_NAME)-$(VERSION)-linux.tar.gz
# Lista completa de archivos fuente
APP_SOURCES := \
src/main.cpp \
third_party/glad/src/glad.c
third_party/glad/src/glad.c \
third_party/jail_audio.cpp
# Includes
INCLUDES := -Isrc -Ithird_party/glad/include
INCLUDES := -Isrc -Ithird_party/glad/include -Ithird_party
# Variables según el sistema operativo
ifeq ($(OS),Windows_NT)
@@ -94,6 +95,7 @@ windows_release:
# Copia la carpeta 'shaders'
powershell Copy-Item -Path "shaders" -Destination "$(RELEASE_FOLDER)" -recurse -Force
powershell Copy-Item -Path "data" -Destination "$(RELEASE_FOLDER)" -recurse -Force
# Copia los ficheros que están en la raíz del proyecto
powershell Copy-Item "LICENSE" -Destination "$(RELEASE_FOLDER)"
@@ -141,6 +143,7 @@ macos_release:
# Copia carpetas y ficheros
cp -R shaders "$(RELEASE_FOLDER)/$(APP_NAME).app/Contents/Resources"
cp -R data "$(RELEASE_FOLDER)/$(APP_NAME).app/Contents/Resources"
cp -R release/frameworks/SDL3.xcframework "$(RELEASE_FOLDER)/$(APP_NAME).app/Contents/Frameworks"
cp release/icon.icns "$(RELEASE_FOLDER)/$(APP_NAME).app/Contents/Resources"
cp release/Info.plist "$(RELEASE_FOLDER)/$(APP_NAME).app/Contents"
@@ -192,6 +195,7 @@ linux_release:
# Copia ficheros
cp -R shaders "$(RELEASE_FOLDER)"
cp -R data "$(RELEASE_FOLDER)"
cp LICENSE "$(RELEASE_FOLDER)"
cp README.md "$(RELEASE_FOLDER)"