From: Matthias Braun Date: Tue, 7 Jun 2005 22:34:31 +0000 (+0000) Subject: fix miniswig building X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=7e7c80e664b9137025545d2ab37080c8e4b509e8;p=supertux.git fix miniswig building SVN-Revision: 2579 --- diff --git a/mk/jam/bisonflex.jam b/mk/jam/bisonflex.jam index 3ec765b0c..22dafde56 100644 --- a/mk/jam/bisonflex.jam +++ b/mk/jam/bisonflex.jam @@ -76,8 +76,8 @@ if $(BISON) # here Includes $(headerfile:G=) : $(headerfile) ; - Bison $(cppfile) : $(<) ; -#Includes $(cppfile) : $(headerfile) ; + Bison $(cppfile) $(headerfile:G=) : $(<) ; +#Includes $(cppfile) : $(headerfile:G=) ; return $(object) ; } diff --git a/tools/miniswig/Jamfile b/tools/miniswig/Jamfile index bc621c914..9c096af3c 100644 --- a/tools/miniswig/Jamfile +++ b/tools/miniswig/Jamfile @@ -1,7 +1,8 @@ SubDir TOP tools miniswig ; if $(LEX) && $(BISON) { - MINISWIG = [ Application miniswig : [ Wildcard *.yy *.ll *.cpp ] ] ; + sources = [ Filter [ Wildcard *.yy *.ll *.cpp ] : parser.cpp lexer.cpp ] ; + MINISWIG = [ Application miniswig : $(sources) ] ; C++Flags miniswig : -Wno-unused ; IncludeDir miniswig : . ; ExternalLibs miniswig : LEX ;