scyther/src/build.sh

22 lines
364 B
Bash
Raw Normal View History

2007-05-03 13:00:00 +01:00
#!/bin/sh
2012-05-02 16:15:50 +01:00
# Store version number in version.h
./describe-version.py
# Different choice if on Darwin
2007-05-03 13:00:00 +01:00
PLATFORM=`uname`
echo $PLATFORM
if [ "$PLATFORM" = "Darwin" ]
then
./subbuild-mac-intel.sh
2007-05-03 13:00:00 +01:00
else
if [ "$PLATFORM" = "Linux" ]
then
# Build linux version
./subbuild-unix-unix.sh
2007-05-03 13:00:00 +01:00
else
echo "I don't know platform $PLATFORM, so I won't do anything"
fi
fi