blob: 6ea19cb19ef22e25d85bd08a3a23d0492f3d6136 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /bin/bash
if
[ -n "$1" -a -n "$2" ]
then
# make config first
if
bash ../build.sh $1 $2 config "PKGINFO=" "NAME=tutorial" "SRCS=\"\""
then
for i in * ; do
if [ -e $i/package.txt ] ; then
pushd $i
bash ../../build.sh $1 $2
popd
fi
done
fi
else
echo
echo SYNTAX: build.sh [platform] [system] [compiler]
echo system ..... pd / max
echo compiler ... msvc / gcc / mingw / cygwin / bcc / icc
echo
echo Please make sure that your make program and compiler can be accessed with the
echo system path and that all relevant environment variables are properly set.
echo
fi
|