X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=Makefile;h=bf09646daa34bb1b8136ea31f0cf5ecced63cba3;hb=ceb7ded99fc9cc9519adeea07808a344678c196e;hp=0c0c57f4b21fb887b3efdddc107a18ddf9ae26ef;hpb=8c3a8e72f2bebc6a732f11cac24a4f3ca21dd730;p=rocksndiamonds.git diff --git a/Makefile b/Makefile index 0c0c57f4..bf09646d 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ # ============================================================================= # Rocks'n'Diamonds Makefile # ----------------------------------------------------------------------------- -# (c) 1995-2003 Holger Schemel +# (c) 1995-2005 Holger Schemel # ============================================================================= # ----------------------------------------------------------------------------- @@ -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 @@ -96,24 +102,27 @@ clean: auto-conf: @$(MAKE_CMD) auto-conf -run: - @$(MAKE_CMD) TARGET=$(DEFAULT_TARGET) && ./rocksndiamonds --verbose +run: all + @./rocksndiamonds --verbose -gdb: - @$(MAKE_CMD) TARGET=$(DEFAULT_TARGET) && gdb ./rocksndiamonds +gdb: all + @gdb -batch -x GDB_COMMANDS ./rocksndiamonds -valgrind: - valgrind -v --leak-check=yes ./rocksndiamonds 2> valgrind.out +valgrind: all + @valgrind -v --leak-check=yes ./rocksndiamonds 2> valgrind.out -enginetest: +enginetest: all ./Scripts/make_enginetest.sh -enginetestcustom: +enginetestcustom: all ./Scripts/make_enginetest.sh custom -enginetestfast: +enginetestfast: all ./Scripts/make_enginetest.sh fast +enginetestnew: all + ./Scripts/make_enginetest.sh new + backup: ./Scripts/make_backup.sh src @@ -163,11 +172,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