Option to jump with up on keyboard.
[supertux.git] / src / scripting / Jamfile
index 7dc9dc0..a6df87e 100644 (file)
@@ -10,13 +10,18 @@ if $(MINISWIG)
         local headerfile = [ LocateTarget $(<:S=.hpp) : $(SUBDIR) ] ;  
         SEARCH on $(headerfile) = $(SOURCH_SOURCE) ;
 
-        Depends $(cppfile) : $(headerfile) ;
         MiniSwig $(cppfile) : $(sources) ;
+
         CPPFLAGS on $(cppfile) = $(CPPFLAGS) -DSCRIPTING_API ;
         headerfile on $(cppfile) = $(headerfile) ;
         modulename on $(cppfile) = $(3) ;
         FLAGS on $(cppfile) = $(4) ;
 
+        local h = $(headerfile:G=) ;
+        h = $(h:D=) ;
+        Includes $(h) : $(headerfile) ;
+        Includes $(headerfile) : $(cppfile) ;
+
         local object = [ CompileObject $(cppfile) ] ;
 
         return $(object) ;