Makefile
changeset 3042 227101cb98ca
parent 3031 ea55e2750fff
child 3084 6540f61eea49
equal deleted inserted replaced
3041:96c5e9e8c3f3 3042:227101cb98ca
    57 #       If unset, it will use the hardcoded path in the c code
    57 #       If unset, it will use the hardcoded path in the c code
    58 #       This can still be overriden by the music.extmidi openttd.cfg option.
    58 #       This can still be overriden by the music.extmidi openttd.cfg option.
    59 # WITH_DIRECTMUSIC: enable DirectMusic MIDI support
    59 # WITH_DIRECTMUSIC: enable DirectMusic MIDI support
    60 # WITH_NETWORK: enable networking
    60 # WITH_NETWORK: enable networking
    61 # DEDICATED: allows compilation on UNIX without SDL. Useful for dedicated servers
    61 # DEDICATED: allows compilation on UNIX without SDL. Useful for dedicated servers
    62 # MAX_NUM_AUTOSAVES: sets the number of autosaves the games will make before starting
       
    63 #		to overwrite the old ones. If not set, the game will use 16.
       
    64 #		NOTE: assign a number, not a string of a number
       
    65 #
    62 #
    66 # Paths:
    63 # Paths:
    67 # INSTALL: If not set, the game uses the directory of the binary to
    64 # INSTALL: If not set, the game uses the directory of the binary to
    68 # store everything (lang, data, gm, save and openttd.cfg), this is the `old' behaviour.
    65 # store everything (lang, data, gm, save and openttd.cfg), this is the `old' behaviour.
    69 # In this case, none of the following paths are used, you also should _not_
    66 # In this case, none of the following paths are used, you also should _not_
   530 ifdef MIDI
   527 ifdef MIDI
   531 CDEFS += -DEXTERNAL_PLAYER=\"$(MIDI)\"
   528 CDEFS += -DEXTERNAL_PLAYER=\"$(MIDI)\"
   532 ifdef MIDI_ARG
   529 ifdef MIDI_ARG
   533 CDEFS += -DMIDI_ARG=\"$(MIDI_ARG)\"
   530 CDEFS += -DMIDI_ARG=\"$(MIDI_ARG)\"
   534 endif
   531 endif
   535 endif
       
   536 
       
   537 ifdef MAX_NUM_AUTOSAVES
       
   538 CDEFS += -DMAX_NUM_AUTOSAVES=$(MAX_NUM_AUTOSAVES)
       
   539 endif
   532 endif
   540 
   533 
   541 ifdef WITH_NETWORK
   534 ifdef WITH_NETWORK
   542 CDEFS += -DENABLE_NETWORK
   535 CDEFS += -DENABLE_NETWORK
   543 ifdef QNX
   536 ifdef QNX