mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-02 05:10:17 +01:00
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.
This commit is contained in:
parent
b3262128fe
commit
9287ecc3aa
1 changed files with 2 additions and 0 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue