X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2FJamfile;h=092591a9e8a67402643c477482f6e70e7a595150;hb=e7a12ed844f040d270e50ce25f74de5f017c1157;hp=69f7b2621477e780e1273292a4c04a3c38ca4bf0;hpb=690ac9e5920c8d3dd0a8a14a7bd163eaf52ce689;p=supertux.git diff --git a/src/Jamfile b/src/Jamfile index 69f7b2621..092591a9e 100644 --- a/src/Jamfile +++ b/src/Jamfile @@ -3,11 +3,12 @@ SubDir TOP src ; SubInclude TOP src squirrel ; SubInclude TOP src scripting ; -sources = +sources = [ Wildcard *.cpp *.hpp ] [ Wildcard audio : *.cpp *.hpp ] [ Wildcard audio/newapi : *.cpp *.hpp ] [ Wildcard badguy : *.cpp *.hpp ] + [ Wildcard binreloc : *.c *.h ] [ Wildcard control : *.cpp *.hpp ] [ Wildcard gui : *.cpp *.hpp ] [ Wildcard lisp : *.cpp *.hpp ] @@ -19,13 +20,16 @@ sources = [ Wildcard trigger : *.cpp *.hpp ] [ Wildcard video : *.cpp *.hpp ] [ Wildcard worldmap : *.cpp *.hpp ] + [ Wildcard obstack : *.c *.h *.hpp ] ; TRANSLATABLE_SOURCES += [ SearchSource $(sources) ] ; -Application supertux : $(sources) $(wrapper_objects) ; -C++Flags supertux : -DAPPDATADIR='\"$(appdatadir)\"' ; -LinkWith supertux : squirrel ; -ExternalLibs supertux : SDL SDLIMAGE GL OPENAL VORBIS VORBISFILE OGG ICONV PHYSFS BINRELOC ; -Help supertux : "Build the supertux executable" ; -IncludeDir supertux : squirrel/include squirrel ; +#Application supertux : $(sources) $(wrapper_objects) ; +Application supertux2 : $(sources) $(wrapper_objects) : linkerfile ; +C++Flags supertux2 : -DAPPDATADIR=\'\"$(appdatadir)\"\' ; +LinkWith supertux2 : squirrel ; +ExternalLibs supertux2 : SDL SDLIMAGE GL OPENAL VORBIS VORBISFILE OGG ICONV PHYSFS BINRELOC LIBCURL ; +Help supertux2 : "Build the supertux2 executable" ; +IncludeDir supertux2 : squirrel/include squirrel ; +Package [ Wildcard scripting : *.cpp *.hpp ] ;