2009-07-16 18:57:59 +02:00
|
|
|
#!/bin/sh
|
2004-06-07 12:45:48 +02:00
|
|
|
|
2009-07-18 00:07:09 +02:00
|
|
|
cd "$(dirname $0)"
|
|
|
|
# Now in build/workspaces/ (where we assume this script resides)
|
2004-06-07 12:45:48 +02:00
|
|
|
|
2009-07-18 00:07:09 +02:00
|
|
|
# Make sure workspaces/gcc exists.
|
|
|
|
mkdir -p gcc
|
2004-12-11 22:50:03 +01:00
|
|
|
|
2009-07-18 00:07:09 +02:00
|
|
|
# Now build premake and run it to create the makefiles
|
|
|
|
cd ../premake
|
2009-07-13 18:59:10 +02:00
|
|
|
make -C src
|
2009-07-18 00:07:09 +02:00
|
|
|
src/bin/premake --outpath ../workspaces/gcc --atlas --collada "$@" --target gnu
|