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
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)

View File

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