2012-08-18 12:33:58 +00:00
|
|
|
#!/bin/sh -x
|
2012-11-29 02:19:09 +00:00
|
|
|
set -e
|
2012-08-20 01:56:09 +00:00
|
|
|
if test -d native; then
|
|
|
|
cd native
|
2012-11-29 02:19:09 +00:00
|
|
|
make $*
|
2012-08-20 01:56:09 +00:00
|
|
|
cd ../powerpc64-ps3-elf
|
|
|
|
ln -fs ../native/tools/qfcc/source/qfcc .
|
|
|
|
ln -fs ../native/tools/pak/pak .
|
|
|
|
fi
|
2012-08-18 12:33:58 +00:00
|
|
|
export PS3DEV=/usr/local/ps3dev
|
|
|
|
export PSL1GHT=$PS3DEV
|
|
|
|
export PKG_CONFIG_LIBDIR=$PS3DEV/portlibs/ppu/lib/pkgconfig
|
|
|
|
export PATH=$PS3DEV/spu/bin:$PS3DEV/ppu/bin:$PS3DEV/bin:$PATH
|
|
|
|
|
2012-08-20 01:56:09 +00:00
|
|
|
make PAK='$(top_builddir)/pak' QFCC='$(top_builddir)/qfcc' $*
|