summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDylan Noblesmith <[email protected]>2012-06-28 20:28:13 +0000
committerDylan Noblesmith <[email protected]>2012-07-02 15:14:39 +0000
commit91ecba9d052dccf745144c6fc8be74e203164b75 (patch)
treeda525859a69e3997c952bc2fd249851a4e92dd1d
parent261b1389eb7cc268eb90402753ca52cc481d542a (diff)
mesa: fix parser source gen for out-of-tree builds
Reviewed-by: Kenneth Graunke <[email protected]>
-rw-r--r--src/mesa/Makefile.am2
1 files changed, 2 insertions, 0 deletions
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: