From 868875dabcd009b6706fdaf7808330eafe90ffe7 Mon Sep 17 00:00:00 2001 From: Ludovic Pouzenc Date: Sat, 16 Feb 2013 22:49:13 +0000 Subject: Proof of concept en C pour voir qu'on peut bien recuperer les pointeurs dont on a besoin pour passer a OpenCL. Reste a faire l'init OpenCL ! git-svn-id: file:///var/svn/2013-gpudataviz/trunk@9 371a6b4a-a258-45f8-9dcc-bdd82ce0ac9d --- tests/poc_c/compil.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 tests/poc_c/compil.sh (limited to 'tests/poc_c/compil.sh') diff --git a/tests/poc_c/compil.sh b/tests/poc_c/compil.sh new file mode 100755 index 0000000..f636aaf --- /dev/null +++ b/tests/poc_c/compil.sh @@ -0,0 +1,10 @@ +#!/bin/bash -e +CFLAGS="-Wall -g" +LDFLAGS="-Wall -g" + +CFLAGS="$CFLAGS $(pkg-config --cflags gtkglextmm-1.2)" +LIBS="$(pkg-config --libs gtkglextmm-1.2)" + +gcc $CFLAGS -c main.c -o main.o +gcc $LDFLAGS -o main main.o $LIBS + -- cgit v1.2.3