Last change
on this file since 26 was
26,
checked in by nicolasc, 17 years ago
|
cleanup
|
-
Property svn:executable set to
*
|
File size:
931 bytes
|
Rev | Line | |
---|
[23] | 1 | #!/bin/bash |
---|
| 2 | |
---|
[24] | 3 | #if [ $1 == --with-tardis ] |
---|
[25] | 4 | # export PKG_CONFIG_PATH=/usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig:/usr/pack/ois-1.0-sd/i686-debian-linux3.1/lib/pkgconfig/ |
---|
[24] | 5 | #fi |
---|
[23] | 6 | |
---|
[25] | 7 | COMPILER="gcc" |
---|
[24] | 8 | MAIN_SRC="main.cpp" |
---|
| 9 | EXECUTABLE="main" |
---|
| 10 | LIBS="OGRE OIS" |
---|
| 11 | LD_FLAGS="`pkg-config --libs ${LIBS}`" |
---|
| 12 | CXX_FLAGS="`pkg-config --cflags ${LIBS}`" |
---|
| 13 | INCLUDES="-I." |
---|
[26] | 14 | FLAGS="-O2 -pipe -g -ggdb" |
---|
[23] | 15 | |
---|
[24] | 16 | echo "${COMPILER} ${FLAGS} ${CXX_FLAGS} ${LD_FLAGS} ${INCLUDES} ${MAIN_SRC} -o ${EXECUTABLE}" |
---|
| 17 | ${COMPILER} ${FLAGS} ${CXX_FLAGS} ${LD_FLAGS} ${INCLUDES} ${MAIN_SRC} -o ${EXECUTABLE} |
---|
| 18 | #g++-4.2.0 `pkg-config --libs /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig/OGRE.pc /usr/pack/ois-1.0-sd/i686-debian-linux3.1/lib/pkgconfig/OIS.pc` `pkg-config --cflags /usr/pack/ogre-1.4.5-sd/i686-debian-linux3.1/lib/pkgconfig/OGRE.pc /usr/pack/ois-1.0-sd/i686-debian-linux3.1/lib/pkgconfig/OIS.pc` main.cpp -I. -O2 -march=prescott -pipe -o main -g -ggdb |
---|
Note: See
TracBrowser
for help on using the repository browser.