From 7e7c80e664b9137025545d2ab37080c8e4b509e8 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Tue, 7 Jun 2005 22:34:31 +0000 Subject: [PATCH] fix miniswig building SVN-Revision: 2579 --- mk/jam/bisonflex.jam | 4 ++-- tools/miniswig/Jamfile | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) 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 ; -- 2.11.0