X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=Makefile;h=d5a21886056fd8d7d6048bd14295a3ea87866427;hb=f77b401b278dd2e2a91d316e0c0247d71353fee9;hp=7fcfdeba00334e49fd5eb13e3cb3cbd00740eecd;hpb=abe44529b439ad39b4d8dbf19cbd67c9b9844279;p=rocksndiamonds.git diff --git a/Makefile b/Makefile index 7fcfdeba..d5a21886 100644 --- a/Makefile +++ b/Makefile @@ -2,9 +2,9 @@ # Rocks'n'Diamonds - McDuffin Strikes Back! # ----------------------------------------------------------------------------- # (c) 1995-2014 by Artsoft Entertainment -# Holger Schemel -# info@artsoft.org -# http://www.artsoft.org/ +# Holger Schemel +# info@artsoft.org +# http://www.artsoft.org/ # ----------------------------------------------------------------------------- # Makefile # ============================================================================= @@ -59,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 @@ -79,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 @@ -93,6 +85,9 @@ cross-win32: clean: @$(MAKE_CMD) clean +clean-git: + @$(MAKE_CMD) clean-git + # ----------------------------------------------------------------------------- # development, test, distribution build and packaging targets @@ -215,4 +210,4 @@ tags: $(MAKE_CMD) tags depend dep: - $(MAKE_CMD) TARGET=$(DEFAULT_TARGET) depend + $(MAKE_CMD) depend