From: Dylan Noblesmith Date: Thu, 28 Jun 2012 20:28:13 +0000 (+0000) Subject: mesa: fix parser source gen for out-of-tree builds X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=91ecba9d052dccf745144c6fc8be74e203164b75;p=mesa.git mesa: fix parser source gen for out-of-tree builds Reviewed-by: Kenneth Graunke --- diff --git a/src/mesa/Makefile.am b/src/mesa/Makefile.am index 44ec619cda8..5736c5d5745 100644 --- a/src/mesa/Makefile.am +++ b/src/mesa/Makefile.am @@ -86,9 +86,11 @@ main/api_exec_es2.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py m -S $(srcdir)/main/APIspec.xml -V GLES2.0 > $@ program/program_parse.tab.c program/program_parse.tab.h: program/program_parse.y + mkdir -p program $(YACC) -v -d --output=program/program_parse.tab.c $< program/lex.yy.c: program/program_lexer.l + mkdir -p program $(LEX) --never-interactive --outfile=$@ $< all-local: