scyther/src/build.sh

22 lines
368 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-universal.sh
else
if [ "$PLATFORM" = "Linux" ]
then
2012-05-02 16:15:50 +01:00
# Build both versions
2007-05-03 13:00:00 +01:00
./subbuild-unix-both.sh
else
echo "I don't know platform $PLATFORM, so I won't do anything"
fi
fi