From 99b9019716d0a5cfc7438677d2e11090d676c054 Mon Sep 17 00:00:00 2001 From: Arkadiusz Miskiewicz Date: Sat, 26 Feb 2011 10:26:09 -0800 Subject: glsl/Makefile: Remove builtin_function.cpp if generation fails. Fixes bug #34346. Signed-off-by: Kenneth Graunke --- src/glsl/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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 -- cgit v1.2.3