Yet another Console commit /
[supertux.git] / src / Jamfile
index b2f1269..38492e8 100644 (file)
@@ -4,24 +4,27 @@ SubInclude TOP src squirrel ;
 SubInclude TOP src scripting ;
 
 sources = 
-    [ Wildcard *.cpp *.h ]
-    [ Wildcard math : *.cpp *.h ]
-    [ Wildcard video : *.cpp *.h ]
-    [ Wildcard audio : *.cpp *.h ]
-    [ Wildcard gui : *.cpp *.h ]
-    [ Wildcard lisp : *.cpp *.h ]
-    [ Wildcard object : *.cpp *.h ]
-    [ Wildcard badguy : *.cpp *.h ]
-    [ Wildcard sprite : *.cpp *.h ]
-    [ Wildcard trigger : *.cpp *.h ]
-    [ Wildcard tinygettext : *.cpp *.h ]
-    [ Wildcard control : *.cpp *.h ]
+    [ Wildcard *.cpp *.hpp ]
+    [ Wildcard audio : *.cpp *.hpp ]
+    [ Wildcard audio/newapi : *.cpp *.hpp ]
+    [ Wildcard badguy : *.cpp *.hpp ]
+    [ Wildcard control : *.cpp *.hpp ]
+    [ Wildcard gui : *.cpp *.hpp ]
+    [ Wildcard lisp : *.cpp *.hpp ]
+    [ Wildcard math : *.cpp *.hpp ]
+    [ Wildcard object : *.cpp *.hpp ]
+    [ Wildcard physfs : *.cpp *.hpp ]
+    [ Wildcard sprite : *.cpp *.hpp ]
+    [ Wildcard tinygettext : *.cpp *.hpp ]
+    [ Wildcard trigger : *.cpp *.hpp ]
+    [ Wildcard video : *.cpp *.hpp ]
 ;
 TRANSLATABLE_SOURCES += [ SearchSource $(sources) ] ;
 
 Application supertux : $(sources) $(wrapper_objects) ;
+C++Flags supertux : -DAPPDATADIR='\"$(appdatadir)\"' ;
 LinkWith supertux : squirrel ;
-ExternalLibs supertux : SDL SDLMIXER SDLIMAGE GL ;
+ExternalLibs supertux : SDL SDLIMAGE GL OPENAL VORBIS VORBISFILE OGG ICONV PHYSFS BINRELOC ;
 Help supertux : "Build the supertux executable" ;
 IncludeDir supertux : squirrel/include ;