From 357002c3d255a806b11152b631505b194831a046 Mon Sep 17 00:00:00 2001 From: Shamus Hammons Date: Sat, 5 Nov 2005 19:03:00 +0000 Subject: [PATCH] Compile script is no longer needed. ;-) --- compile | 87 --------------------------------------------------------- 1 file changed, 87 deletions(-) delete mode 100644 compile diff --git a/compile b/compile deleted file mode 100644 index 0b6c2ab..0000000 --- a/compile +++ /dev/null @@ -1,87 +0,0 @@ -#! /bin/sh - -# -# Compile script for Virtual Jaguar GCC/SDL Portable Jaguar Emulator -# This obviates the need for separate Makefiles for every OS architecture -# under the sun... -# -# by James L. Hammons -# -# If you have any parameters that you want to pass through to make, then -# simply add them to the 'compile' command line as if 'compile' were make. -# - -echo -echo -n "*** Checking compilation environment... " - -# Check for SDL - -if [ "`which sdl-config`" = "" ]; then - - echo - echo - echo "It seems that you don't have the SDL development libraries installed. If you" - echo "have installed them, make sure that the sdl-config file is somewhere in your" - echo "path and is executable." - - exit 1 - -fi - -echo -n "OK" - -echo -echo -n "*** Compiling Virtual Jaguar for " - -# Check the OS type... - -if [ "$OSTYPE" = "msys" ]; then - - echo -n Win32 on MinGW - - SYSTYPE=__GCCWIN32__ - EXESUFFIX=.exe - GLLIB=-lopengl32 - ICON=vj-ico.o - SDLLIBTYPE=--libs -#This doesn't seem to make a difference on Win32... -# SDLLIBTYPE=--static-libs - -elif [ "$OSTYPE" = "darwin7.0" ] || [ "$OSTYPE" = "darwin" ]; then - - echo -n Mac OS X - - SYSTYPE=__GCCUNIX__ -D_OSX_ - EXESUFFIX= - GLLIB= - ICON= - SDLLIBTYPE=--static-libs - -else # *nix - - echo -n generic Unix/Linux - - SYSTYPE=__GCCUNIX__ - EXESUFFIX= - GLLIB=-lGL - ICON= - SDLLIBTYPE=--libs - -fi - -echo ... -echo - -export SYSTYPE EXESUFFIX GLLIB ICON SDLLIBTYPE - -# Yes, you can pass through parameters to make... - -make $@ - -if [ $? -eq 0 ]; then - - echo - echo "*** Looks like it compiled OK... Give it a whirl!" - echo - -fi -- 2.37.2