File: make-linux-nomidi.sh

package info (click to toggle)
fasttracker2 1.41%2Bds-1
  • links: PTS, VCS
  • area: non-free
  • in suites: bullseye
  • size: 2,896 kB
  • sloc: ansic: 52,188; cpp: 3,143; sh: 22; xml: 21; makefile: 8
file content (10 lines) | stat: -rw-r--r-- 526 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

rm release/other/ft2-clone &> /dev/null
echo Compiling \(with no MIDI functionality\), please wait patiently...

gcc -DNDEBUG src/gfxdata/*.c src/mixer/*.c src/*.c -lSDL2 -lm -Wshadow -Winit-self -Wall -Wno-missing-field-initializers -Wno-unused-result -Wno-strict-aliasing -Wextra -Wunused -Wunreachable-code -Wswitch-default -march=native -mtune=native -O3 -o release/other/ft2-clone

rm src/gfxdata/*.o src/*.o &> /dev/null

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