From 67f2aad686e54206f3f0ce7d337b5a896d344e57 Mon Sep 17 00:00:00 2001 From: Matthias Braun Date: Mon, 6 Jun 2005 15:23:36 +0000 Subject: [PATCH] place generated files in source dir SVN-Revision: 2574 --- mk/jam/bisonflex.jam | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/mk/jam/bisonflex.jam b/mk/jam/bisonflex.jam index 141f839e7..3ec765b0c 100644 --- a/mk/jam/bisonflex.jam +++ b/mk/jam/bisonflex.jam @@ -6,7 +6,7 @@ if $(LEX) { rule LexRule { - local cfile = [ LocateTarget $(<:S=.c) ] ; + local cfile = [ LocateTarget $(<:S=.c) : $(SUBDIR) ] ; local object = [ CompileObjects $(cfile) ] ; Lex $(cfile) : $(<) ; @@ -17,7 +17,7 @@ if $(LEX) rule Lex++Rule { - local cppfile = [ LocateTarget $(<:S=.cpp) ] ; + local cppfile = [ LocateTarget $(<:S=.cpp) : $(SUBDIR) ] ; local object = [ CompileObjects $(cppfile) ] ; Lex $(cppfile) : $(<) ; @@ -51,8 +51,8 @@ if $(BISON) { rule BisonRule { - local cfile = [ LocateTarget $(<:S=.c) ] ; - local headerfile = [ LocateTarget $(<:S=.h) ] ; + local cfile = [ LocateTarget $(<:S=.c) : $(SUBDIR) ] ; + local headerfile = [ LocateTarget $(<:S=.h) : $(SUBDIR) ] ; local object = [ CompileObjects $(cfile) ] ; Includes $(headerfile:G=) : $(headerfile) ; @@ -67,8 +67,8 @@ if $(BISON) rule Bison++Rule { - local cppfile = [ LocateTarget $(<:S=.cpp) ] ; - local headerfile = [ LocateTarget $(<:S=.hpp) ] ; + local cppfile = [ LocateTarget $(<:S=.cpp) : $(SUBDIR) ] ; + local headerfile = [ LocateTarget $(<:S=.hpp) : $(SUBDIR) ] ; headerfile = $(headerfile:G=) ; local object = [ CompileObjects $(cppfile) ] ; -- 2.11.0