-
Notifications
You must be signed in to change notification settings - Fork 7
/
build.sh
executable file
·24 lines (24 loc) · 893 Bytes
/
build.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh
cd "${0%/*}";
if [ `uname` = "Darwin" ]; then
sudo xcode-select --install;
if [ -f "/opt/local/bin/port" ]; then
"./filedialogs/build (SDL Renderer).sh";
else
echo "MacPorts installation not found! Please download and install MacPorts first from www.macports.org";
fi
elif [ $(uname) = "Linux" ]; then
"./filedialogs/build (SDL Renderer).sh";
elif [ $(uname) = "FreeBSD" ]; then
"./filedialogs/build (SDL Renderer).sh";
elif [ $(uname) = "DragonFly" ]; then
"./filedialogs/build (SDL Renderer).sh";
elif [ $(uname) = "NetBSD" ]; then
"./filedialogs/build (SDL Renderer).sh";
elif [ $(uname) = "OpenBSD" ]; then
"./filedialogs/build (SDL Renderer).sh";
elif [ $(uname) = "SunOS" ]; then
"./filedialogs/build (SDL Renderer).sh";
else
echo "build the visual studio solution found in the \"filedialogs\" sub-directory of this repository's source tree.";
fi