summaryrefslogtreecommitdiff
path: root/scripts/mkmakefile
Side-by-side diff
Diffstat (limited to 'scripts/mkmakefile') (more/less context) (ignore whitespace changes)
-rwxr-xr-xscripts/mkmakefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/scripts/mkmakefile b/scripts/mkmakefile
new file mode 100755
index 0000000..1d21a2e
--- a/dev/null
+++ b/scripts/mkmakefile
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+if [ $# -lt 1 ]
+then
+ echo "Usage: mkmakefile <dir> ..."
+ exit 1
+fi
+
+while [ $# -gt 0 ]
+do
+ DIR=`echo $1 | sed -e 's/\/$//'`
+ echo "Making $DIR/Makefile.in..."
+ H=`pwd`
+ cd $DIR
+ FILE=`basename $DIR`
+ TMAKEPATH=$QTDIR/tmake:$TMAKEPATH tmake CONFIG+=embedded -t $H/qt/tmake/propagate.t -o Makefile.in $FILE.pro
+ echo "Done."
+ shift
+ cd -
+done
+
+exit 0
+