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