added support for gadget-like pressable menu buttons on main screen
[rocksndiamonds.git] / Makefile
index aae58256af7f11fa73a5fa51aee3da7409d918a8..d5a21886056fd8d7d6048bd14295a3ea87866427 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,12 @@
 # =============================================================================
-# Rocks'n'Diamonds Makefile
+# Rocks'n'Diamonds - McDuffin Strikes Back!
 # -----------------------------------------------------------------------------
-# (c) 1995-2013 Holger Schemel <info@artsoft.org>
+# (c) 1995-2014 by Artsoft Entertainment
+#                  Holger Schemel
+#                  info@artsoft.org
+#                  http://www.artsoft.org/
+# -----------------------------------------------------------------------------
+# Makefile
 # =============================================================================
 
 # -----------------------------------------------------------------------------
@@ -54,15 +59,13 @@ CROSS_PATH_WIN32 = /usr/local/cross-tools/i386-mingw32msvc
 SRC_DIR = src
 MAKE_CMD = $(MAKE) -C $(SRC_DIR)
 
-DEFAULT_TARGET = sdl2
-
 
 # -----------------------------------------------------------------------------
 # build targets
 # -----------------------------------------------------------------------------
 
 all:
-       @$(MAKE_CMD) TARGET=$(DEFAULT_TARGET)
+       @$(MAKE_CMD)
 
 sdl:
        @$(MAKE_CMD) TARGET=sdl
@@ -74,13 +77,7 @@ mac:
        @$(MAKE_CMD) PLATFORM=macosx
 
 mac-static:
-       @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl-static
-
-mac2-static:
-       @$(MAKE_CMD) PLATFORM=macosx TARGET=sdl2-static
-
-os2:
-       @$(MAKE_CMD) PLATFORM=os2
+       @$(MAKE_CMD) PLATFORM=macosx STATIC=true
 
 cross-win32:
        @PATH=$(CROSS_PATH_WIN32)/bin:${PATH} $(MAKE_CMD) PLATFORM=cross-win32
@@ -88,6 +85,9 @@ cross-win32:
 clean:
        @$(MAKE_CMD) clean
 
+clean-git:
+       @$(MAKE_CMD) clean-git
+
 
 # -----------------------------------------------------------------------------
 # development, test, distribution build and packaging targets
@@ -210,4 +210,4 @@ tags:
        $(MAKE_CMD) tags
 
 depend dep:
-       $(MAKE_CMD) TARGET=$(DEFAULT_TARGET) depend
+       $(MAKE_CMD) depend