From: Kenneth Graunke Date: Mon, 3 May 2010 21:39:03 +0000 (-0700) Subject: Integrate generate_builtins.pl into the build process. X-Git-Tag: 062012170305~10660^2~625^2~261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9287ecc3aa81ab5e79bc9aa61bcdd620a142d79d;p=profile%2Fivi%2Fmesa.git 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. --- diff --git a/Makefile.am b/Makefile.am index 8f2f3fa..105fcc5 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: