@ -160,13 +160,11 @@ ifneq ($(MAKEFILE_VERSION),$(CONFIG_VERSION))
SDL-CONFIG:= sdl-config
endif
endif
e l s e
# this should define SDL-CONFIG for manual configuration
ifeq ( $( shell uname) ,FreeBSD)
SDL-CONFIG:= sdl11-config
else
SDL-CONFIG:= sdl-config
endif
e n d i f
i f n d e f S D L - C O N F I G
UPDATECONFIG:= upgradeconf
CONFIG_INCLUDED:=
e n d i f
# this is used if there aren't any Makefile.config
@ -776,6 +774,7 @@ quiet_cmd_cxx_compile = '===> Compiling $<'
i f d e f O S X
OSX := OSX
OSX_MIDI_PLAYER_FILE := os/macos/OpenTTDMidi.class
e n d i f
@ -803,7 +802,7 @@ $(OSX): $(TTD)
$( Q) os/macos/plistgen.sh " $( OSXAPP) " " $( REV) "
$( Q) cp os/macos/track_starter " $( OSXAPP) " /contents/macos
$( Q) ls os/macos | grep -q "\.class" || \
$( Q) javac os/macos/OpenTTDMidi.java
javac os/macos/OpenTTDMidi.java
$( Q) cp os/macos/OpenTTDMidi.class " $( OSXAPP) " /contents/macos
$( Q) cp data/* " $( OSXAPP) " /Contents/data/
$( Q) cp lang/*.lng " $( OSXAPP) " /Contents/lang/
@ -920,7 +919,7 @@ FORCE:
clean :
@echo '===> Cleaning up'
$( Q) rm -rf .deps *~ $( TTD) $( STRGEN) core table/strings.h $( LANGS) $( OBJS) endian.h $( ENDIAN_CHECK)
$( Q) rm -rf .deps *~ $( TTD) $( STRGEN) core table/strings.h $( LANGS) $( OBJS) $( OSX_MIDI_PLAYER_FILE) endian.h $( ENDIAN_CHECK)
mrproper : clean
$( Q) rm -rf $( MAKE_CONFIG)