rnd-20071001-1-src
[rocksndiamonds.git] / Makefile
index 538c451c55863a85b87a08bccd80e27971598d11..a2ceff1dcece4a670382bc03b409963e001423e9 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,7 @@
 # =============================================================================
 # Rocks'n'Diamonds Makefile
 # -----------------------------------------------------------------------------
-# (c) 1995-2005 Holger Schemel <info@artsoft.org>
+# (c) 1995-2007 Holger Schemel <info@artsoft.org>
 # =============================================================================
 
 # -----------------------------------------------------------------------------
@@ -38,8 +38,12 @@ X11_PATH = /usr/X11R6
 # SCORE_ENTRIES = MANY_PER_NAME
 
 # paths for cross-compiling (only needed for non-native MS-DOS and Win32 build)
-CROSS_PATH_MSDOS=/usr/local/cross-msdos/i386-msdosdjgpp
-CROSS_PATH_WIN32=/usr/local/cross-tools/i386-mingw32msvc
+CROSS_PATH_MSDOS = /usr/local/cross-msdos/i386-msdosdjgpp
+CROSS_PATH_WIN32 = /usr/local/cross-tools/i386-mingw32msvc
+
+# compile special edition of R'n'D instead of the normal (classic) version
+# SPECIAL_EDITION = rnd_jue
+
 
 # -----------------------------------------------------------------------------
 # there should be no need to change anything below
@@ -76,6 +80,9 @@ solaris-sdl:
 mac:
        @$(MAKE_CMD) PLATFORM=macosx
 
+mac-static:
+       @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl-static
+
 msdos:
        @$(MAKE_CMD) PLATFORM=msdos
 
@@ -120,8 +127,17 @@ enginetestfast: all
 enginetestnew: all
        ./Scripts/make_enginetest.sh new
 
+leveltest: all
+       ./Scripts/make_enginetest.sh leveltest
+
 backup:
-       ./Scripts/make_backup.sh src
+       ./Scripts/make_backup.sh src 1
+
+backup2:
+       ./Scripts/make_backup.sh src 2
+
+backup3:
+       ./Scripts/make_backup.sh src 3
 
 backup_lev:
        ./Scripts/make_backup.sh lev
@@ -129,6 +145,9 @@ backup_lev:
 backup_gfx:
        ./Scripts/make_backup.sh gfx
 
+# prerelease:
+#      ./Scripts/make_prerelease.sh
+
 dist-unix:
        ./Scripts/make_dist.sh unix .
 
@@ -169,11 +188,13 @@ dist-build-all:
        $(MAKE) clean
        $(MAKE) dist-build-unix         ; $(MAKE) dist-clean
        $(MAKE) dist-build-win32        ; $(MAKE) dist-clean
-       $(MAKE) dist-build-msdos        ; $(MAKE) dist-clean
+#      $(MAKE) dist-build-msdos        ; $(MAKE) dist-clean
 
-dist-all: dist-build-all dist-unix dist-msdos dist-win32 dist-macosx
+# dist-all: dist-build-all dist-unix dist-msdos dist-win32 dist-macosx
+dist-all: dist-build-all dist-unix dist-win32 dist-macosx
 
-upload-all: upload-unix upload-msdos upload-win32 upload-macosx
+# upload-all: upload-unix upload-msdos upload-win32 upload-macosx
+upload-all: upload-unix upload-win32 upload-macosx
 
 tags:
        $(MAKE_CMD) tags