From: Matthias Braun Date: Sun, 17 Jul 2005 11:50:37 +0000 (+0000) Subject: manually add dependency from lexer.cpp to parser.hpp X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=ff21ef0e91214397e7925a87c2e5142f564dab08;p=supertux.git manually add dependency from lexer.cpp to parser.hpp SVN-Revision: 2725 --- diff --git a/tools/miniswig/Jamfile b/tools/miniswig/Jamfile index 9c096af3c..993efa4b2 100644 --- a/tools/miniswig/Jamfile +++ b/tools/miniswig/Jamfile @@ -6,5 +6,10 @@ if $(LEX) && $(BISON) { C++Flags miniswig : -Wno-unused ; IncludeDir miniswig : . ; ExternalLibs miniswig : LEX ; + +# we gotta run bison before flex + lexer_cpp = [ SearchSource lexer.cpp ] ; + lexer_o = [ LocateTarget $(lexer_cpp:S=.o) ] ; + Depends lexer_o : [ LocateTarget parser.cpp : $(SUBDIR) ] ; }