Skip to content

Commit

Permalink
Merge branch 'revolution'
Browse files Browse the repository at this point in the history
  • Loading branch information
Théo Friberg committed Jan 30, 2018
2 parents 41c3b15 + 0863adf commit a7bbf64
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions compile.sh
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
#!/bin/bash

# Dependencies: libsdl2-dev
# Dependencies: sdl2, fluidsynth

# Ubuntu: sudo apt install libsdl2-dev libfluidsynth-dev
# Arch Linux: sudo pacman -S sdl2 fluidsynth
# MacOS: brew install sdl2 fluidsynth

if [ "$1" == "--debug" ]
then
g++ --std=c++14 -Wall -pedantic $@ -o native.so -fPIC -shared native/*.cpp -lSDL2 -lfluidsynth -g
else
g++ -O2 --std=c++14 -Wall -pedantic $@ -o native.so -fPIC -shared native/*.cpp -lSDL2 -lfluidsynth -march=native
g++ -O2 --std=c++14 -Wall -pedantic $@ -o native.so -fPIC -shared native/*.cpp -lSDL2 -lfluidsynth
fi

0 comments on commit a7bbf64

Please sign in to comment.