2007-05-03 12:22:00 +01:00
|
|
|
#!/bin/sh
|
|
|
|
|
2007-05-03 12:32:07 +01:00
|
|
|
# Default flags
|
|
|
|
CMFLAGS="-D CMAKE_BUILD_TYPE:STRING=Release"
|
|
|
|
|
|
|
|
# Make for ppc and intel, and combine into universal binary
|
|
|
|
cmake $CMFLAGS -D TARGETOS=MacPPC . && make
|
|
|
|
cmake $CMFLAGS -D TARGETOS=MacIntel . && make
|
|
|
|
cmake $CMFLAGS . && make scyther-mac
|
|
|
|
|
2007-05-03 14:21:43 +01:00
|
|
|
echo
|
2007-05-03 13:00:00 +01:00
|
|
|
echo
|
2007-05-03 14:21:43 +01:00
|
|
|
echo "---------------------------------------------------------"
|
2007-05-03 13:00:00 +01:00
|
|
|
echo "Built the Mac universal binary"
|
|
|
|
|
2007-05-03 12:32:07 +01:00
|
|
|
# Copy to the correct locations
|
2007-05-21 12:24:19 +01:00
|
|
|
cp scyther-mac ../gui/Scyther/
|
2007-05-03 13:00:00 +01:00
|
|
|
|
|
|
|
echo Copied the files to their respective locations
|
2007-05-03 14:21:43 +01:00
|
|
|
echo "---------------------------------------------------------"
|
2007-05-03 12:22:00 +01:00
|
|
|
|