rotate-me-fast/configure
Fabien Freling bcc195c775 Update build for Linux.
Add flags for SSE instructions.
2014-07-28 19:47:51 +02:00

18 lines
350 B
Bash
Executable file

#!/bin/sh
case `uname -s` in
Darwin)
echo 'CXX = clang++' > Makefile.rules
echo 'CXXFLAGS_PLATFORM = ' >> Makefile.rules
echo 'LFLAGS = -flto' >> Makefile.rules
;;
Linux)
echo 'CXX = g++' > Makefile.rules
echo 'CXXFLAGS_PLATFORM = -mssse3 -msse4.2' >> Makefile.rules
echo 'LFLAGS = ' >> Makefile.rules
;;
esac