From 9fcc074af39f0c88313179eacc3b2a8dd32e94f3 Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 5 Sep 2018 21:46:55 +0300 Subject: initial --- build-linux.sh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 build-linux.sh (limited to 'build-linux.sh') diff --git a/build-linux.sh b/build-linux.sh new file mode 100755 index 0000000..abdb5a1 --- /dev/null +++ b/build-linux.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" + +g++ ./spinning_cube.c ./hello.cc \ + -shared -o libppapi_hello.so \ + -I$DIR/nacl_sdk/pepper_49/include \ + -L$DIR/nacl_sdk/pepper_49/lib/linux_host/Release \ + -lppapi_cpp \ + -lppapi \ + -lppapi_simple \ + -lpthread \ + -lm \ + -lppapi_gles2 \ + -Wall -fPIC -- cgit v1.2.3