build-scripts/naclbuild.sh
changeset 8877 0d691f3734ac
parent 8833 ae720d61d14d
child 8880 ee5117b56b93
equal deleted inserted replaced
8876:60edb019f0fe 8877:0d691f3734ac
     1 #!/bin/bash
     1 #!/bin/bash
     2 if [ -z "$1" ] && [ -z "$NACL_SDK_ROOT" ]; then
     2 if [ -z "$1" ] && [ -z "$NACL_SDK_ROOT" ]; then
     3     echo "Usage: ./naclbuild ~/nacl/pepper_33"
     3     echo "Usage: ./naclbuild ~/nacl/pepper_35"
     4     echo "This will build SDL for Native Client, and testgles2.c as a demo"
     4     echo "This will build SDL for Native Client, and testgles2.c as a demo"
     5     echo "You can set env vars CC, AR, LD and RANLIB to override the default PNaCl toolchain used"
     5     echo "You can set env vars CC, AR, LD and RANLIB to override the default PNaCl toolchain used"
     6     echo "You can set env var SOURCES to select a different source file than testgles2.c"
     6     echo "You can set env var SOURCES to select a different source file than testgles2.c"
     7     exit 1
     7     exit 1
     8 fi
     8 fi