X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=Makefile;h=00e7695b304c300c432e5e4d28fdd875c44125fc;hb=a7c06161253796a30a0237a7f5a044f459c8cf35;hp=b2d8476cd80dbc66d9193cbdc80a685c80bfce99;hpb=c91aa2b237bef6003ead8dfc98cdcab89f97c654;p=rocksndiamonds.git diff --git a/Makefile b/Makefile index b2d8476c..00e7695b 100644 --- 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 @@ -87,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 @@ -143,7 +149,7 @@ backup: backup-net-copy: ./Scripts/make_backup.sh src scp -backup-net: backup backup-net-copy +backup-all: backup backup-net-copy backup_lev: ./Scripts/make_backup.sh lev @@ -164,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 @@ -173,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 . @@ -236,4 +242,4 @@ tags: $(MAKE_CMD) tags depend dep: - $(MAKE_CMD) depend + $(MAKE_CMD) TARGET=$(DEFAULT_TARGET) depend