From 9287ecc3aa81ab5e79bc9aa61bcdd620a142d79d Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 3 May 2010 14:39:03 -0700 Subject: [PATCH] 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. --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) 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: -- 2.30.2