File: make-linux.sh

package info (click to toggle)
pt2-clone 1.74%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 3,672 kB
  • sloc: ansic: 42,899; xml: 23; sh: 15; makefile: 10
file content (9 lines) | stat: -rw-r--r-- 536 bytes parent folder | download
1
2
3
4
5
6
7
8
9
#!/bin/bash

rm release/other/pt2-clone &> /dev/null

echo Compiling, please wait...
gcc -DNDEBUG -DHAS_LIBFLAC src/gfx/*.c src/modloaders/*.c src/libflac/*.c src/smploaders/*.c src/*.c -lSDL2 -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wno-stringop-overflow -march=native -mtune=native -O3 -o release/other/pt2-clone
rm src/gfx/*.o src/*.o &> /dev/null

echo Done. The executable can be found in \'release/other\' if everything went well.