rnd-20140103-1-src
[rocksndiamonds.git] / Makefile
index 173f5cd510e71c5928357790de047b50d3132bb8..00e7695b304c300c432e5e4d28fdd875c44125fc 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,7 @@ SRC_DIR = src
 MAKE_CMD = $(MAKE) -C $(SRC_DIR)
 
 # DEFAULT_TARGET = x11
-DEFAULT_TARGET = sdl
+DEFAULT_TARGET = sdl2
 
 
 # -----------------------------------------------------------------------------
@@ -90,6 +90,9 @@ mac:
 mac-static:
        @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl-static
 
+mac2-static:
+       @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl2-static
+
 msdos:
        @$(MAKE_CMD) PLATFORM=msdos
 
@@ -167,7 +170,7 @@ dist-clean:
        @$(MAKE_CMD) dist-clean
 
 dist-build-unix:
-       @BUILD_DIST=TRUE $(MAKE) x11
+       @BUILD_DIST=TRUE $(MAKE)
 
 dist-build-msdos:
        @BUILD_DIST=TRUE $(MAKE) cross-msdos
@@ -176,10 +179,10 @@ dist-build-win32:
        @BUILD_DIST=TRUE $(MAKE) cross-win32
 
 dist-build-macosx:
-       # (this is done by "dist-package-macosx" target)
+#      (this is done by "dist-package-macosx" target)
 
 dist-build-macosx-ppc:
-       # (this is done by "dist-package-macosx-ppc" target)
+#      (this is done by "dist-package-macosx-ppc" target)
 
 dist-package-unix:
        ./Scripts/make_dist.sh unix .
@@ -239,4 +242,4 @@ tags:
        $(MAKE_CMD) tags
 
 depend dep:
-       $(MAKE_CMD) depend
+       $(MAKE_CMD) TARGET=$(DEFAULT_TARGET) depend