From: Kenneth Graunke Date: Mon, 3 May 2010 21:39:03 +0000 (-0700) Subject: Integrate generate_builtins.pl into the build process. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9287ecc3aa81ab5e79bc9aa61bcdd620a142d79d;p=mesa.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 8f2f3fa632e..105fcc5d28f 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: