X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=Makefile;h=d5a21886056fd8d7d6048bd14295a3ea87866427;hp=aae58256af7f11fa73a5fa51aee3da7409d918a8;hb=509ca8448453d677028c6e690d267926e81730ac;hpb=2e99b0c26d334eb287486b8933b52b5048c6cc0c diff --git a/Makefile b/Makefile index aae58256..d5a21886 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,12 @@ # ============================================================================= -# Rocks'n'Diamonds Makefile +# Rocks'n'Diamonds - McDuffin Strikes Back! # ----------------------------------------------------------------------------- -# (c) 1995-2013 Holger Schemel +# (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