Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 34 for code


Ignore:
Timestamp:
Oct 11, 2007, 8:43:35 AM (17 years ago)
Author:
nicolasc
Message:

updated build-script

Location:
code/branches/tutorial/Tutorial
Files:
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/tutorial/Tutorial/build-script-tardis

    r28 r34  
    55#fi
    66
    7 COMPILER="gcc-4.2.0"
    8 MAIN_SRC="main.cpp"
     7COMPILER="gcc-3.4.3"
     8SRC_FILES="src/main.cpp"
     9HEADER_FILES="src/ExampleApplication.h  src/ExampleFrameListener.h  src/ExampleLoadingBar.h"
    910EXECUTABLE="main"
    1011LIBS="OGRE OIS"
    1112LD_FLAGS="`pkg-config --libs ${LIBS}`"
    1213CXX_FLAGS="`pkg-config --cflags ${LIBS}`"
    13 INCLUDES="-I."
    14 FLAGS="-O2 -march=prescott -pipe -g -ggdb"
     14INCLUDES="-Isrc"
     15FLAGS="-O2 -march=pentium4 -pipe -g -ggdb"
    1516
    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}
     17echo "${COMPILER} ${FLAGS} ${CXX_FLAGS} ${LD_FLAGS} ${INCLUDES} ${SRC_FILES} -o ${EXECUTABLE}"
     18${COMPILER} ${FLAGS} ${CXX_FLAGS} ${LD_FLAGS} ${INCLUDES} ${SRC_FILES} -o ${EXECUTABLE}
    1819#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 TracChangeset for help on using the changeset viewer.