You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
610 B

  1. #!/bin/sh
  2. ## Native PS3 compilation for Lol Engine -- Sam Hocevar <sam@hocevar.net>
  3. set -e
  4. # Only on Windows
  5. if test "x${MSYSTEM}" = xMINGW32; then
  6. PATH="$PATH:./contrib/gtk-2.22.1/bin"
  7. M4PATH="./contrib/gtk-2.22.1/share/aclocal"
  8. export M4PATH # This looks necessary
  9. PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`pwd`/contrib/gtkglarea-2.0.1/lib/pkgconfig"
  10. export PKG_CONFIG_PATH # This looks necessary, too
  11. fi
  12. # Bootstrap, configure and make
  13. # NOTE: ensure that $CELL_SDK is set and ppu-lv2-g++ is in the path
  14. ./bootstrap
  15. ./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=none
  16. make -j6