summaryrefslogtreecommitdiff
path: root/src/mesa/shader/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/Makefile')
-rw-r--r--src/mesa/shader/Makefile7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/shader/Makefile b/src/mesa/shader/Makefile
new file mode 100644
index 0000000000..400a543bda
--- /dev/null
+++ b/src/mesa/shader/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 $<