From bec8869883710493ddf2fd88ae79c3befe41dc9b Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sun, 10 Mar 2013 21:36:01 +0000 Subject: Debut implementation du refresh automatique (style game loop) si demandé (mouse1 down) compil.sh : -lrt est nécessaire pour avoir des infos précises sur le timing (kernel exec time...) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: file:///var/svn/2013-gpudataviz/trunk@22 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d --- src/compil.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/compil.sh') diff --git a/src/compil.sh b/src/compil.sh index b0a1bad..d913674 100755 --- a/src/compil.sh +++ b/src/compil.sh @@ -10,7 +10,7 @@ AMDAPP_PATH="/opt/AMDAPP" DEFINES="" INCLUDES="" -LIBS="" +LIBS="-lrt" # OpenCL if [ -d "$AMDAPP_PATH/include" ] @@ -32,8 +32,8 @@ fi #set +x function build_cxx() { - echo "$PS4$CXX \$DEFINES \$INCLUDES -o $BUILD_PATH/$1 -c $2" - $CXX $DEFINES $INCLUDES -o $BUILD_PATH/$1 -c $2 + echo "$PS4$CXX \$DEFINES \$INCLUDES -o $BUILD_PATH/$1 -c $2 \$LIBS" + $CXX $DEFINES $INCLUDES -o $BUILD_PATH/$1 -c $2 $LIBS } function link_cxx() { -- cgit v1.2.3