]> git.saurik.com Git - wxWidgets.git/blame - utils/framelayout/samples/make_Linux_make
fixed a canonical example of Stupid Bug(tm)
[wxWidgets.git] / utils / framelayout / samples / make_Linux_make
CommitLineData
bd9396d5
HH
1#!/bin/sh
2
3cat <<EOF
4
5This script will create Linux build dirs in each of the sample subdirs and
6create the makefile.
7
8Make sure you execute the samples in the bitmaps dir, otherwise they
9won't find their bitmaps! This will probably result in a crash.
10
11Until I find a more elegant method for this...
12
13EOF
14
15for DIR in demo sample test ; do
16
17cd $DIR
18echo Entering $DIR ...
19if [ ! -d Linux ] ; then
20 echo "Making Linux dir"
21 mkdir Linux
22fi
23echo "Creating Makefile"
24sed -f ../../../../setup/Linux/substit Makefile.in > Linux/Makefile
25cd ..
26
27done
28
29