Include other generated sources in BUILT_SOURCES.
authorEric Anholt <eric@anholt.net>
Wed, 24 Mar 2010 03:43:10 +0000 (20:43 -0700)
committerEric Anholt <eric@anholt.net>
Tue, 23 Mar 2010 19:32:25 +0000 (12:32 -0700)
Otherwise, having cleaned glsl_parser.h, we'd never regenerate it because
glsl_parser.cpp was already right where it needed to be.

Makefile.am

index f299c3f..48b4b39 100644 (file)
@@ -29,10 +29,10 @@ glsl_SOURCES = symbol_table.c hash_table.c glsl_types.cpp \
        ir.cpp hir_field_selection.cpp \
        ir_print_visitor.cpp ir_variable.cpp ir_function.cpp
 
-BUILT_SOURCES = glsl_parser.h builtin_types.h
+BUILT_SOURCES = glsl_parser.h builtin_types.h glsl_parser.cpp glsl_lexer.cpp
 CLEANFILES = $(BUILT_SOURCES)
 
-glsl_parser.h: glsl_parser.ypp
+glsl_parser.h: glsl_parser.cpp
 
 .lpp.cpp:
        $(LEXCOMPILE) --outfile="$@" $<