X-Git-Url: https://git.artsoft.org/?p=rocksndiamonds.git;a=blobdiff_plain;f=Makefile;h=d1bc33a88cd5de0f12740b02e3587fd2313db003;hp=3e80fafdb06b61c2b2bce6eb92d065fda7deb568;hb=c8dd3c1abd6a1daf4f7431a59db721ae7fba3d17;hpb=d4c11da68a7271553ca5591adfae54fd3b45011f diff --git a/Makefile b/Makefile index 3e80fafd..d1bc33a8 100644 --- a/Makefile +++ b/Makefile @@ -1,6 +1,6 @@ #=============================================================================# -# Makefile for Rocks'n'Diamonds 1.2 # -# (c) 1995-98 Holger Schemel, aeglos@valinor.owl.de # +# Makefile for Rocks'n'Diamonds 1.4.0 # +# (c) 1995-1999 Holger Schemel, aeglos@valinor.owl.de # #=============================================================================# #-----------------------------------------------------------------------------# @@ -17,12 +17,16 @@ CC = gcc # PLATFORM = dos # specify path to X11 on your system -# if undefined, use system defaults (works fine with Linux/gcc) +# if undefined, use system defaults (works with Linux/gcc/libc5) # X11_PATH = /usr/X11 -# specify path to install game data (graphics, sounds, levels, scores) +# specify directory for read-only game data (like graphics, sounds, levels) # default is '.', so you can play without installing game data somewhere -# GAME_DIR = /usr/local/games +# RO_GAME_DIR = /usr/games + +# specify directory for writable game data (like highscore files) +# default is '.', so you can play without installing game data somewhere +# RW_GAME_DIR = /var/games # uncomment this if your system has no joystick include file # JOYSTICK = -DNO_JOYSTICK @@ -48,7 +52,6 @@ MAKE = make SRC_DIR = src MAKE_CMD = @$(MAKE) -C $(SRC_DIR) - all: $(MAKE_CMD) @@ -57,3 +60,28 @@ solaris: clean: $(MAKE_CMD) clean + + +#-----------------------------------------------------------------------------# +# development only stuff # +#-----------------------------------------------------------------------------# + +backup: + ./Scripts/make_backup.sh src + +backup_lev: + ./Scripts/make_backup.sh lev + +backup_gfx: + ./Scripts/make_backup.sh gfx + +dist-unix: + ./Scripts/make_dist.sh unix . + +dist-dos: + ./Scripts/make_dist.sh dos . + +dist: dist-unix dist-dos + +depend: + $(MAKE_CMD) depend