4 # Compile script for Virtual Jaguar GCC/SDL Portable Jaguar Emulator
5 # This obviates the need for separate Makefiles for every OS architecture
10 # If you have any parameters that you want to pass through to make, then
11 # simply add them to the 'compile' command line as if 'compile' were make.
15 echo -n "*** Checking compilation environment... "
19 if [ "`which sdl-config`" = "" ]; then
23 echo "It seems that you don't have the SDL development libraries installed. If you"
24 echo "have installed them, make sure that the sdl-config file is somewhere in your"
25 echo "path and is executable."
34 echo -n "*** Compiling Virtual Jaguar for "
36 # Check the OS type...
38 if [ "$OSTYPE" = "msys" ]; then
40 echo -n Win32 on MinGW
47 #This doesn't seem to make a difference on Win32...
48 # SDLLIBTYPE=--static-libs
50 elif [ "$OSTYPE" = "darwin7.0" ] || [ "$OSTYPE" = "darwin" ]; then
54 SYSTYPE=__GCCUNIX__ -D_OSX_
58 SDLLIBTYPE=--static-libs
62 echo -n generic Unix/Linux
75 export SYSTYPE EXESUFFIX GLLIB ICON SDLLIBTYPE
77 # Yes, you can pass through parameters to make...
84 echo "*** Looks like it compiled OK... Give it a whirl!"