1 #####################################################################
6 if $(DEBUG) { DEFINES += DEBUG_BUILD ; }
10 Echo "MSG: using local saves" ;
11 DEFINES += LOCAL_SAVES ;
16 Echo "MSG: sound support enabled" ;
17 LINKLIBS += -lSDL_mixer ;
18 C++LINKLIBS += -lSDL_mixer ;
20 Echo "MSG: sound support disabled; USE_SOUND=1 will enable it" ;
21 DEFINES += DISABLE_SOUND ;
26 Echo "MSG: imlib2 found" ;
27 lib-config "pkg-config imlib2" ;
28 DEFINES += HAVE_IMLIB2 ;
32 Echo "MSG: libpng found" ;
33 lib-config "pkg-config libpng" ;
34 DEFINES += HAVE_LIBPNG ;
37 if $(HAVE_IMLIB2) || $(HAVE_LIBPNG) {
38 if $(ENABLE_PNG_SHOTS) {
39 Echo "MSG: savegame screenshots will be in PNG format" ;
41 Echo "MSG: savegame screenshots will be in internal format" ;
42 DEFINES += SGAME_SHOTS_IPU ;