summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/program/Makefile')
-rw-r--r--src/mesa/program/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/program/Makefile b/src/mesa/program/Makefile
new file mode 100644
index 00000000000..400a543bdab
--- /dev/null
+++ b/src/mesa/program/Makefile
@@ -0,0 +1,7 @@
+all: program_parse.tab.c lex.yy.c
+
+program_parse.tab.c program_parse.tab.h: program_parse.y
+ bison -v -d $<
+
+lex.yy.c: program_lexer.l
+ flex --never-interactive $<