X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2FMakefile;h=4a065da30c83d35377a455aace7d9b5ee13a0373;hb=370a25a79d2e8df1e6e3e4cb4be39496d0190c28;hp=6c81021d1d52593d85be593b34749ec419741788;hpb=bb33b871657d1af6beda881e33b536512815aa9b;p=rocksndiamonds.git diff --git a/src/Makefile b/src/Makefile index 6c81021d..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, @@ -60,7 +60,7 @@ LIBS = -L$(XLIB_PATH) $(EXTRA_X11_LIBS) -lX11 -lm $(EXTRA_LIBS) else RM = del PROGNAME = ../rocks.exe -LIBS = -lm -lalleg +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)