X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=Makefile;h=f98a1211c870d8adf3217a90e080fc4939722b44;hb=f5859ace642a543cafcd27f8fc7b96d8baf31436;hp=63962f78924e68df5efd4b390463345ae240b459;hpb=df11f4a529251a285f3a33946da81623044fef3f;p=rocksndiamonds.git diff --git a/Makefile b/Makefile index 63962f78..f98a1211 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # ============================================================================= # Rocks'n'Diamonds Makefile # ----------------------------------------------------------------------------- -# (c) 1995-2003 Holger Schemel +# (c) 1995-2005 Holger Schemel # ============================================================================= # ----------------------------------------------------------------------------- @@ -50,8 +50,8 @@ CROSS_PATH_WIN32=/usr/local/cross-tools/i386-mingw32msvc SRC_DIR = src MAKE_CMD = $(MAKE) -C $(SRC_DIR) -DEFAULT_TARGET = x11 -# DEFAULT_TARGET = sdl +# DEFAULT_TARGET = x11 +DEFAULT_TARGET = sdl # ----------------------------------------------------------------------------- @@ -76,9 +76,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 +106,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 +120,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 +141,9 @@ backup_lev: backup_gfx: ./Scripts/make_backup.sh gfx +# prerelease: +# ./Scripts/make_prerelease.sh + dist-unix: ./Scripts/make_dist.sh unix . @@ -163,11 +184,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