# =============================================================================
# Rocks'n'Diamonds Makefile
# -----------------------------------------------------------------------------
-# (c) 1995-2003 Holger Schemel <info@artsoft.org>
+# (c) 1995-2005 Holger Schemel <info@artsoft.org>
# =============================================================================
# -----------------------------------------------------------------------------
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
@./rocksndiamonds --verbose
gdb: all
- @gdb ./rocksndiamonds
+ @gdb -batch -x GDB_COMMANDS ./rocksndiamonds
valgrind: all
@valgrind -v --leak-check=yes ./rocksndiamonds 2> valgrind.out
enginetestfast: all
./Scripts/make_enginetest.sh fast
+enginetestnew: all
+ ./Scripts/make_enginetest.sh new
+
backup:
./Scripts/make_backup.sh src
$(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