finalcut/build.sh

21 lines
400 B
Bash
Raw Normal View History

2015-05-23 13:35:12 +02:00
#!/bin/sh
case "$1" in
"--help"|"help")
echo "Usage: $0 {help|debug|release}"
exit 1
;;
"--debug"|"debug")
./configure CPPFLAGS="-DDEBUG" CXXFLAGS="-g -O0 -DDEBUG -W -Wall -pedantic"
;;
"--profile"|"profile")
./configure CPPFLAGS="-DDEBUG" CXXFLAGS="-pg -O0 -DDEBUG -W -Wall -pedantic"
;;
"--release"|"release"|*)
./configure
;;
esac
make
# make install