wmake must be made before other targets.

This commit is contained in:
Mark Olesen
2008-06-05 15:29:53 +02:00
parent 220b4c128b
commit aa68159ae4
2 changed files with 13 additions and 8 deletions

View File

@ -1,9 +1,10 @@
#!/bin/sh #!/bin/sh
set -x set -x
(cd $WM_PROJECT_INST_DIR/ThirdParty && ./Allwmake) # wmake is required for subsequent targets
(cd wmake/src && make)
(cd wmake && ./makeWmake) (cd $WM_PROJECT_INST_DIR/ThirdParty && ./Allwmake)
(cd src && ./Allwmake) (cd src && ./Allwmake)

View File

@ -27,17 +27,21 @@
# wmkdir # wmkdir
# #
# Description # Description
# Script which makes a directory is not already constucted. # Script that makes a directory is not already constructed.
# Usage : wmkdir <directoryName> # Usage : wmkdir <directoryName>
# #
#------------------------------------------------------------------------------ #------------------------------------------------------------------------------
if [ $# = 1 ] if [ $# -eq 1 ]
then then
if [ ! -d $1 ] # provide help
then if [ "$1" = "-h" -o "$1" = "-help" ]
mkdir -p $1 then
fi echo "usage: ${0##*/} <dir>"
echo " mkdir if directory does not already exist"
else
[ -d "$1" ] || mkdir -p "$1"
fi
fi fi