]> git.saurik.com Git - wxWidgets.git/blame - utils/configtool/scripts/makeapp
Applied patched for combo box SELECTED events (no
[wxWidgets.git] / utils / configtool / scripts / makeapp
CommitLineData
d7463f75
JS
1#!/bin/sh
2# Build application
3
4# The first argument is debug or release
5LEVEL=$1
6
7# Then you can supply one or more makefile targets
8TARGET="$2 $3 $4 $5 $6 $6 $7 $8 $9"
9
10if [ "$1" = "" ] || [ "$2" = "" ]; then
11 echo Usage: makeapp debug/release full/wx/genericapp/cleanall
12 exit
13fi
14
15export APPDIR=$WXWIN/utils/configtool
16export WXDIR=$WXWIN
17export WXBUILDDIR=wxwin-build-$LEVEL
18
19# If there's no wxwin-build-... directory yet, the makefile
20# must include a dummy makeprog.env
21export USEDUMMYMAKEPROG="0"
22if [ ! -f $WXBUILDDIR/src/makeprog.env ]; then
23 USEDUMMYMAKEPROG="1"
24fi
25
26make -f ${APPDIR}/src/Makefile WXDIR=$WXDIR USEDUMMYMAKEPROG=$USEDUMMYMAKEPROG APPDIR=$APPDIR WXBUILDDIR=$WXBUILDDIR LEVEL=$LEVEL $TARGET