X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=Makefile;h=30606058631400d2af313b231dcdbd569e7289b2;hb=921499c5e7fa7f2c760305d7ec007e4e4a965125;hp=1ea92b071143a8f34b3ef39b687194fc893a8a00;hpb=8f9768f67f24a3279d812ee1760e8dc8e723145d;p=rocksndiamonds.git diff --git a/Makefile b/Makefile index 1ea92b07..30606058 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,6 +76,9 @@ solaris-sdl: mac: @$(MAKE_CMD) PLATFORM=macosx +mac-static: + @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl-static + msdos: @$(MAKE_CMD) PLATFORM=msdos @@ -103,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 @@ -117,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 @@ -126,6 +141,9 @@ backup_lev: backup_gfx: ./Scripts/make_backup.sh gfx +# prerelease: +# ./Scripts/make_prerelease.sh + dist-unix: ./Scripts/make_dist.sh unix . @@ -166,11 +184,24 @@ 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 + +# !!! TEST ONLY !!! +test-setup: +# $(MAKE) clean +# $(MAKE) dist-build-win32 +# $(MAKE) dist-clean + + $(MAKE) dist-win32 -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