projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b326212
)
Integrate generate_builtins.pl into the build process.
author
Kenneth Graunke
<kenneth@whitecape.org>
Mon, 3 May 2010 21:39:03 +0000
(14:39 -0700)
committer
Ian Romanick
<ian.d.romanick@intel.com>
Fri, 14 May 2010 23:34:46 +0000
(16:34 -0700)
make will now regenerate builtin_function.cpp whenever you
change/add/remove files in the builtins/* folders.
Makefile.am
patch
|
blob
|
history
diff --git
a/Makefile.am
b/Makefile.am
index 8f2f3fa632ed7606e8157fc2606fc60f91a66b6a..105fcc5d28f2703690390fe50c41f6caeeaaf9ba 100644
(file)
--- a/
Makefile.am
+++ b/
Makefile.am
@@
-51,6
+51,8
@@
glsl_SOURCES = \
BUILT_SOURCES = glsl_parser.h glsl_parser.cpp glsl_lexer.cpp
CLEANFILES = $(BUILT_SOURCES)
+builtin_function.cpp: builtins/*/*
+ ./builtins/tools/generate_builtins.pl > builtin_function.cpp
glsl_parser.h: glsl_parser.cpp
.lpp.cpp: