{
local sources = [ SearchSource $(>) ] ;
local cppfile = [ LocateTarget $(<) : $(SUBDIR) ] ;
- local headerfile = [ LocateTarget $(<:S=.h) : $(SUBDIR) ] ;
+ local headerfile = [ LocateTarget $(<:S=.h) : $(SUBDIR) ] ;
SEARCH on $(headerfile) = $(SOURCH_SOURCE) ;
-
+
+ Depends $(cppfile) : $(headerfile) ;
MiniSwig $(cppfile) : $(sources) ;
CPPFLAGS on $(cppfile) = $(CPPFLAGS) -DSCRIPTING_API ;
headerfile on $(cppfile) = $(headerfile) ;
{
wrapper_sources += [ SearchSource wrapper.cpp ] ;
}
- echo $(wrapper_sources) ;
wrapper_objects = [ CompileObjects $(wrapper_sources) ] ;
if $(MINISWIG)
{