source: trunk/build-ps3 @ 876

Last change on this file since 876 was 876, checked in by sam, 9 years ago

contrib: add a precompiled Win32 version of CppUnit and update build system
accordingly.

  • Property svn:executable set to *
File size: 644 bytes
Line 
1#!/bin/sh
2
3##  Native PS3 compilation for Lol Engine -- Sam Hocevar <sam@hocevar.net>
4
5# This can't hurt
6make distclean
7
8set -e
9
10# Only on Windows
11if test "x${MSYSTEM}" = xMINGW32; then
12  PATH="$PATH:./contrib/gtk-2.22.1/bin"
13  M4PATH="./contrib/gtk-2.22.1/share/aclocal"
14  export M4PATH # This looks necessary
15  PKG_CONFIG_PATH="$PKG_CONFIG_PATH:`pwd`/contrib/gtkglarea-2.0.1/lib/pkgconfig"
16  export PKG_CONFIG_PATH # This looks necessary, too
17fi
18
19# Bootstrap, configure and make
20# NOTE: ensure that $CELL_SDK is set and ppu-lv2-g++ is in the path
21./bootstrap
22./configure CXX=ppu-lv2-g++ CC=ppu-lv2-gcc ac_cv_exeext=.elf --host=none
23make -j6
24
Note: See TracBrowser for help on using the repository browser.