rnd-20020403-1-src
[rocksndiamonds.git] / Makefile
index e058339a40bac9af41053072f94398e98e231dc5..74814455f1904c82c1a172cda2649a680c14cb33 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,10 @@ sdl:
        @$(MAKE_CMD) TARGET=sdl
 
 solaris:
-       @$(MAKE_CMD) PLATFORM=solaris
+       @$(MAKE_CMD) PLATFORM=solaris TARGET=x11
+
+solaris-sdl:
+       @$(MAKE_CMD) PLATFORM=solaris TARGET=sdl
 
 msdos:
        @$(MAKE_CMD) PLATFORM=msdos
@@ -76,6 +79,9 @@ clean:
 # development only stuff                                                      #
 #-----------------------------------------------------------------------------#
 
+run:
+       @$(MAKE_CMD) TARGET=x11 && ./rocksndiamonds --verbose
+
 backup:
        ./Scripts/make_backup.sh src
 
@@ -91,7 +97,19 @@ dist-unix:
 dist-msdos:
        ./Scripts/make_dist.sh dos .
 
-dist: dist-unix dist-msdos
+dist-win32:
+       ./Scripts/make_dist.sh win .
+
+dist-clean:
+       @$(MAKE_CMD) dist-clean
+
+dist-build-all:
+       $(MAKE) clean
+       @BUILD_DIST=TRUE $(MAKE) x11            ; $(MAKE) dist-clean
+       @BUILD_DIST=TRUE $(MAKE) cross-win32    ; $(MAKE) dist-clean
+       @BUILD_DIST=TRUE $(MAKE) cross-msdos    ; $(MAKE) dist-clean
+
+dist-all: dist-build-all dist-unix dist-msdos dist-win32
 
 depend dep:
        $(MAKE_CMD) depend