X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=4a065da30c83d35377a455aace7d9b5ee13a0373;hb=370a25a79d2e8df1e6e3e4cb4be39496d0190c28;hp=fb7dd26ac40e84ae95e8ce7ea723e86f58d29090;hpb=0c27626bae90cb1eeea4939de0130a49b9aac507;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index fb7dd26a..4a065da3 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,8 +59,8 @@ PROGNAME = ../rocksndiamonds LIBS = -L$(XLIB_PATH) $(EXTRA_X11_LIBS) -lX11 -lm $(EXTRA_LIBS) else RM = del -PROGNAME = ..\rocks.exe -LIBS = -lm -lalleg +PROGNAME = ../rocks.exe +LIBS = -s -lm -lalleg endif CPP = $(CC) -E @@ -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)