summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2010-05-03 14:39:03 -0700
committerIan Romanick <ian.d.romanick@intel.com>2010-05-14 16:34:46 -0700
commit9287ecc3aa81ab5e79bc9aa61bcdd620a142d79d (patch)
treec6101857221dcc1205fbb30e2f3d097f45ddbd1f
parentb3262128fe2322854377a3af65f924ab27c5fb3b (diff)
Integrate generate_builtins.pl into the build process.
make will now regenerate builtin_function.cpp whenever you change/add/remove files in the builtins/* folders.
-rw-r--r--Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 8f2f3fa632..105fcc5d28 100644
--- 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: