0ad/source/workspaces/update-workspaces.sh
olsner 884a0495e9 Auto-create the workspaces/gcc/ folder
This was SVN commit r712.
2004-07-11 20:22:13 +00:00

19 lines
385 B
Bash
Executable file

#!/bin/sh
cd premake
./premake --target gnu
mkdir -p ../gcc
cd ../gcc
mv -f ../premake/Makefile ../premake/prometheus.make .
# These files need to be linked; premake makefiles assume that the
# lua file is accessible from the makefile directory
ln -f -s ../premake/premake.lua ../premake/functions.lua .
if [ -x ../premake/premake ]; then
ln -f -s ../premake/premake .
fi
cd ..