From 9110d689a5e2cec7bfcfbdd3f4677e24108a38fd Mon Sep 17 00:00:00 2001 From: Sergio Valor Date: Sun, 16 Nov 2025 17:54:52 +0100 Subject: [PATCH] corregit makefile --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a18cc0d..09ba2ad 100644 --- a/Makefile +++ b/Makefile @@ -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)"