- optimized compilation for linux added

This commit is contained in:
2022-10-23 12:06:54 +02:00
parent 7d1ea4b22e
commit 0bad4520d8
Executable
+4
View File
@@ -0,0 +1,4 @@
#!/bin/bash
g++ *.cpp ./lua/*.c -Os -ffunction-sections -fdata-sections -Wl,--gc-sections -lSDL2 -o mini
strip -s -R .comment -R .gnu.version --strip-unneeded mini