diff options
author | Arkadiusz Miskiewicz <arekm@maven.pl> | 2011-02-26 10:26:09 -0800 |
---|---|---|
committer | Kenneth Graunke <kenneth@whitecape.org> | 2011-02-26 10:28:00 -0800 |
commit | 99b9019716d0a5cfc7438677d2e11090d676c054 (patch) | |
tree | 7ce1808966c32524121e51739756eefeda115851 | |
parent | 052122a8cd759e8749fee3412bae5d905ee0d965 (diff) |
glsl/Makefile: Remove builtin_function.cpp if generation fails.
Fixes bug #34346.
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
-rw-r--r-- | src/glsl/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/glsl/Makefile b/src/glsl/Makefile index 876f0dfc2a..df031d2d54 100644 --- a/src/glsl/Makefile +++ b/src/glsl/Makefile @@ -208,6 +208,6 @@ builtin_compiler: $(GLSL2_OBJECTS) $(OBJECTS) builtin_stubs.o builtin_function.cpp: builtins/profiles/* builtins/ir/* builtins/tools/generate_builtins.py builtins/tools/texture_builtins.py builtin_compiler @echo Regenerating builtin_function.cpp... - $(PYTHON2) $(PYTHON_FLAGS) builtins/tools/generate_builtins.py ./builtin_compiler > builtin_function.cpp + $(PYTHON2) $(PYTHON_FLAGS) builtins/tools/generate_builtins.py ./builtin_compiler > builtin_function.cpp || rm -f builtin_function.cpp -include depend |