- Change ScriptInterpreter to a gameobject, so we can now have several script
[supertux.git] / src / scripting / Jamfile
index 9def306..a647666 100644 (file)
@@ -11,7 +11,7 @@ if $(MINISWIG)
         SEARCH on $(headerfile) = $(SOURCH_SOURCE) ;
     
         MiniSwig $(cppfile) : $(sources) ;
-        CPPFLAGS on $(cppfile) = $(CPPFLAGS) ;
+        CPPFLAGS on $(cppfile) = $(CPPFLAGS) -DSCRIPTING_API ;
         headerfile on $(cppfile) = $(headerfile) ;
         modulename on $(cppfile) = $(3) ;
         FLAGS on $(cppfile) = $(4) ;
@@ -24,7 +24,6 @@ if $(MINISWIG)
     rule MiniSwig
     {
         Depends $(<) : $(>) $(MINISWIG) ;
-        Clean clean : $(<) ;
     }
 
     actions MiniSwig bind headerfile