projects
/
supertux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
dd1914e
)
fix jamfile to avoid having to rum jam twice when miniswig inputfiles changed
author
Matthias Braun
<matze@braunis.de>
Sat, 3 Mar 2007 15:24:07 +0000
(15:24 +0000)
committer
Matthias Braun
<matze@braunis.de>
Sat, 3 Mar 2007 15:24:07 +0000
(15:24 +0000)
SVN-Revision: 4912
src/scripting/Jamfile
patch
|
blob
|
history
diff --git
a/src/scripting/Jamfile
b/src/scripting/Jamfile
index
7dc9dc0
..
3c3451a
100644
(file)
--- a/
src/scripting/Jamfile
+++ b/
src/scripting/Jamfile
@@
-10,13
+10,18
@@
if $(MINISWIG)
local headerfile = [ LocateTarget $(<:S=.hpp) : $(SUBDIR) ] ;
SEARCH on $(headerfile) = $(SOURCH_SOURCE) ;
local headerfile = [ LocateTarget $(<:S=.hpp) : $(SUBDIR) ] ;
SEARCH on $(headerfile) = $(SOURCH_SOURCE) ;
- Depends $(cppfile) : $(headerfile) ;
MiniSwig $(cppfile) : $(sources) ;
MiniSwig $(cppfile) : $(sources) ;
+
CPPFLAGS on $(cppfile) = $(CPPFLAGS) -DSCRIPTING_API ;
headerfile on $(cppfile) = $(headerfile) ;
modulename on $(cppfile) = $(3) ;
FLAGS on $(cppfile) = $(4) ;
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) ;
+ Depends $(headerfile) : $(cppfile) ;
+
local object = [ CompileObject $(cppfile) ] ;
return $(object) ;
local object = [ CompileObject $(cppfile) ] ;
return $(object) ;