3 SubInclude TOP src squirrel ;
4 SubInclude TOP src scripting ;
6 #------------------------
7 # SuperTux ARCHIVE FILES:
8 #------------------------
9 # the following keeps the .o files after an archive file (.a) is created
12 for i in audio badguy control gui lisp math object physfs sprite
13 tinygettext trigger video worldmap
15 sources = [ Wildcard $(i) : *.cpp *.hpp ] ;
16 Library $(i) : $(sources) : noinstall ;
17 TRANSLATABLE_SOURCES += [ SearchSource $(sources) ] ;
20 ExternalLibs audio badguy control gui lisp math object physfs sprite
21 tinygettext trigger video worldmap
22 : SDL SDLIMAGE GL OPENAL VORBIS VORBISFILE OGG ICONV PHYSFS BINRELOC ;
23 IncludeDir audio badguy control gui lisp math object physfs sprite
24 tinygettext trigger video worldmap
25 : squirrel/include squirrel ;
27 #----------------------
28 # SuperTux Application:
29 #----------------------
30 sources = [ Wildcard *.cpp *.hpp ] ;
31 TRANSLATABLE_SOURCES += [ SearchSource $(sources) ] ;
33 Application supertux : $(sources) $(wrapper_objects) ;
34 C++Flags supertux : -DAPPDATADIR='\"$(appdatadir)\"' ;
35 LinkWith supertux : squirrel ;
36 ExternalLibs supertux : SDL SDLIMAGE GL OPENAL VORBIS VORBISFILE OGG ICONV PHYSFS BINRELOC ;
37 Help supertux : "Build the supertux executable" ;
38 IncludeDir supertux : squirrel/include squirrel ;
40 LinkWithWholeArchive supertux : audio badguy control gui lisp math object physfs sprite
41 tinygettext trigger video worldmap ;