diff options
author | Ian Romanick <ian.d.romanick@intel.com> | 2010-10-05 11:22:34 -0700 |
---|---|---|
committer | Ian Romanick <ian.d.romanick@intel.com> | 2011-04-14 11:57:59 -0700 |
commit | 9c0b233c44106391b543c882c72ac35c23560585 (patch) | |
tree | be65bae1d7d5a65a170c12b7f79596819262a4df /src/mesa/Makefile | |
parent | 364aa72824c57d6f67bdfb89c187af56d8183c72 (diff) |
ARB prog parser: Compile parser as C++
This is in anticipation of generating GLSL IR from the parser.
The C++ rules for enums vs. ints are just plain broken.
Diffstat (limited to 'src/mesa/Makefile')
-rw-r--r-- | src/mesa/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/Makefile b/src/mesa/Makefile index 03962e9c194..6059058d0d7 100644 --- a/src/mesa/Makefile +++ b/src/mesa/Makefile @@ -74,8 +74,8 @@ main/api_exec_es1.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py m main/api_exec_es2.c: main/APIspec.xml main/es_generator.py main/APIspecutil.py main/APIspec.py $(PYTHON2) $(PYTHON_FLAGS) main/es_generator.py -S main/APIspec.xml -V GLES2.0 > $@ -program/program_parse.tab.c program/program_parse.tab.h: program/program_parse.y - bison -v -d --output=program/program_parse.tab.c $< +program/program_parse.cpp program/program_parse.tab.h: program/program_parse.y + bison -v -o program/program_parse.cpp --defines=program/program_parse.tab.h $< program/lex.yy.c: program/program_lexer.l flex --never-interactive --outfile=$@ $< |