X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=c27e4c54f5fc2e7dc256b17af1a04c1d34f94566;hb=eae2f3467caaaf64a9370c1acd8cecf11fd58328;hp=fb7dd26ac40e84ae95e8ce7ea723e86f58d29090;hpb=0c27626bae90cb1eeea4939de0130a49b9aac507;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index fb7dd26a..c27e4c54 100644 --- a/src/Makefile +++ b/src/Makefile @@ -31,8 +31,8 @@ XLIB_PATH = /usr/X11/lib # choose if you want to allow many global score file entries for one player # when installing the game in a multi user environment, choose this # SCORE_ENTRIES = ONE_PER_NAME -# when installing the game in a single user environment, choose this -SCORE_ENTRIES = MANY_PER_NAME +# when installing the game in a single user environment, choose this (default) +# SCORE_ENTRIES = MANY_PER_NAME # The XPM-Library is no longer needed to build this program, # but is used to load graphics if XPM_INCLUDE_FILE is defined, @@ -59,7 +59,7 @@ PROGNAME = ../rocksndiamonds LIBS = -L$(XLIB_PATH) $(EXTRA_X11_LIBS) -lX11 -lm $(EXTRA_LIBS) else RM = del -PROGNAME = ..\rocks.exe +PROGNAME = ../rocks.exe LIBS = -lm -lalleg endif @@ -73,7 +73,9 @@ ifdef RW_GAME_DIR CONFIG_RW_GAME_DIR = -DRW_GAME_DIR="\"$(RW_GAME_DIR)\"" endif +ifdef SCORE_ENTRIES CONFIG_SCORE_ENTRIES = -D$(SCORE_ENTRIES) +endif CONFIG_GAME_DIR = $(CONFIG_RO_GAME_DIR) $(CONFIG_RW_GAME_DIR)