rnd-20131209-1-src
[rocksndiamonds.git] / Makefile
index 8a51c93a811025640d07da5f7ae7622a3483046f..96e630396baff70bcf8dd2dd3a5e7e684061617d 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
 
 
 # -----------------------------------------------------------------------------
@@ -75,6 +75,9 @@ x11:
 sdl:
        @$(MAKE_CMD) TARGET=sdl
 
+sdl2:
+       @$(MAKE_CMD) TARGET=sdl2
+
 solaris:
        @$(MAKE_CMD) PLATFORM=solaris TARGET=x11
 
@@ -173,10 +176,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 .
@@ -236,4 +239,4 @@ tags:
        $(MAKE_CMD) tags
 
 depend dep:
-       $(MAKE_CMD) depend
+       $(MAKE_CMD) TARGET=$(DEFAULT_TARGET) depend