General makefiles to be added later. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
		
			
				
	
	
		
			30 lines
		
	
	
		
			551 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			30 lines
		
	
	
		
			551 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
cat <<EOF 
 | 
						|
 | 
						|
This script will create Linux build dirs in each of the sample subdirs and
 | 
						|
create the makefile.
 | 
						|
 | 
						|
Make sure you execute the samples in the bitmaps dir, otherwise they 
 | 
						|
won't find their bitmaps! This will probably result in a crash.
 | 
						|
 | 
						|
Until I find a more elegant method for this...
 | 
						|
 | 
						|
EOF
 | 
						|
 | 
						|
for DIR in demo sample test ; do
 | 
						|
 | 
						|
cd $DIR
 | 
						|
echo Entering $DIR ...
 | 
						|
if [ ! -d Linux ] ; then
 | 
						|
   echo "Making Linux dir"
 | 
						|
   mkdir Linux 
 | 
						|
fi
 | 
						|
echo "Creating Makefile"
 | 
						|
sed -f ../../../../setup/Linux/substit Makefile.in > Linux/Makefile
 | 
						|
cd ..
 | 
						|
 | 
						|
done
 | 
						|
 | 
						|
 |