Actualizado Makefile linux_release

This commit is contained in:
2022-11-13 10:17:56 +01:00
parent 889a4f84c8
commit 7cf8451ba6
2 changed files with 4 additions and 8 deletions

View File

@@ -115,6 +115,10 @@ linux_release:
cp LICENSE $(releaseFolder)
cp README.md $(releaseFolder)
# Delete data
rm -f "$(releaseFolder)/data/room/map.world"
rm -f "$(releaseFolder)/data/room/standard.tsx"
# Build
g++ $(source) -D RELEASE -std=c++11 -Wall -Os -lSDL2 -ffunction-sections -fdata-sections -Wl,--gc-sections -o $(releaseFolder)/$(executable)
strip -s -R .comment -R .gnu.version $(releaseFolder)/$(executable) --strip-unneeded

View File

@@ -74,11 +74,3 @@ x=30
y=12
counter=4
[/item]
[item]
tileSetFile=items.png
tile=68
x=30
y=3
counter=5
[/item]