| 1 | #!/bin/bash |
| 2 | |
| 3 | rm release/other/pt_pal_editor &> /dev/null |
| 4 | |
| 5 | echo Compiling, please wait... |
| 6 | gcc src/tinyfiledialogs/*.c src/gfx/*.c src/*.c -Wno-unused-result -lSDL2 -lm -march=native -mtune=native -O3 -o release/other/pt_pal_editor |
| 7 | rm src/tinyfiledialogs/*.o src/gfx/*.o src/*.o &> /dev/null |
| 8 | |
| 9 | echo Done. The executable can be found in \'release/other\' if everything went well. |