22 lines
584 B
Bash
Executable File
22 lines
584 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# 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
|
|
|
|
echo
|
|
echo
|
|
echo "---------------------------------------------------------"
|
|
echo "Built the Mac universal binary"
|
|
|
|
# Copy to the correct locations
|
|
cp scyther-mac ../gui/Scyther/Bin
|
|
|
|
echo Copied the files to their respective locations
|
|
echo "---------------------------------------------------------"
|
|
|