rnd-20100521-3-src
[rocksndiamonds.git] / Makefile
index a7222e6a6bc696dded7496536253c7699a8f5413..9c0fa9dcca6ccf5b79ab3e5d9a789df1a2d8efa4 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -22,10 +22,14 @@ X11_PATH = /usr/X11R6
 # directory for read-only game data (like graphics, sounds, levels)
 # default is '.' to be able to run program without installation
 # RO_GAME_DIR = /usr/games
+# use the following setting for Debian / Ubuntu installations:
+# RO_GAME_DIR = /usr/share/games/rocksndiamonds
 
 # directory for writable game data (like highscore files)
 # default is '.' to be able to run program without installation
 # RW_GAME_DIR = /var/games
+# use the following setting for Debian / Ubuntu installations:
+# RW_GAME_DIR = /var/games/rocksndiamonds
 
 # uncomment if system has no joystick include file
 # JOYSTICK = -DNO_JOYSTICK
@@ -42,7 +46,7 @@ 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
+SPECIAL_EDITION = rnd_jue
 
 
 # -----------------------------------------------------------------------------
@@ -150,6 +154,10 @@ backup_gfx:
 # prerelease:
 #      ./Scripts/make_prerelease.sh
 
+jue:
+       sed -e 's/# SPECIAL_EDITION/SPECIAL_EDITION/' Makefile > Makefile.jue
+       $(MAKE) -f Makefile.jue cross-win32
+
 dist-clean:
        @$(MAKE_CMD) dist-clean