X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=Makefile;h=a2ceff1dcece4a670382bc03b409963e001423e9;hb=852a8eef1e8858a40da0be4093eba3deaf468f51;hp=e97587dbc3f9ecddf1c6850dda2a833c463ae470;hpb=5dd3c868d9df906623a5fc0ff2124655a14e3715;p=rocksndiamonds.git diff --git a/Makefile b/Makefile index e97587db..a2ceff1d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # ============================================================================= # Rocks'n'Diamonds Makefile # ----------------------------------------------------------------------------- -# (c) 1995-2003 Holger Schemel +# (c) 1995-2007 Holger Schemel # ============================================================================= # ----------------------------------------------------------------------------- @@ -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,9 +80,15 @@ solaris-sdl: mac: @$(MAKE_CMD) PLATFORM=macosx +mac-static: + @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl-static + msdos: @$(MAKE_CMD) PLATFORM=msdos +os2: + @$(MAKE_CMD) PLATFORM=os2 + cross-msdos: @PATH=$(CROSS_PATH_MSDOS)/bin:${PATH} $(MAKE_CMD) PLATFORM=cross-msdos @@ -100,7 +110,7 @@ run: all @./rocksndiamonds --verbose gdb: all - @gdb ./rocksndiamonds + @gdb -batch -x GDB_COMMANDS ./rocksndiamonds valgrind: all @valgrind -v --leak-check=yes ./rocksndiamonds 2> valgrind.out @@ -114,8 +124,20 @@ enginetestcustom: all enginetestfast: all ./Scripts/make_enginetest.sh fast +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 @@ -123,6 +145,9 @@ backup_lev: backup_gfx: ./Scripts/make_backup.sh gfx +# prerelease: +# ./Scripts/make_prerelease.sh + dist-unix: ./Scripts/make_dist.sh unix . @@ -163,11 +188,16 @@ 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-win32 dist-macosx -dist-all: dist-build-all dist-unix dist-msdos dist-win32 dist-macosx +# upload-all: upload-unix upload-msdos upload-win32 upload-macosx +upload-all: upload-unix upload-win32 upload-macosx -upload-all: upload-unix upload-msdos upload-win32 upload-macosx +tags: + $(MAKE_CMD) tags depend dep: $(MAKE_CMD) depend