changeset 1173:6a71b3c43c67

Fix issue of fault to build for ubunutu. - make build shape_path.c before generate precomputed.h while shape_path.c need it. - It is fixed by moving both precomputed.c & precomputed.h to BUILT_SROUCES. - see http://www.gnu.org/software/automake/manual/\ automake.html#Built-Sources-Example
author Thinker K.F. Li <thinker@codemud.net>
date Fri, 31 Dec 2010 00:22:10 +0800
parents 178b126edd2c
children c8c94ce92645
files src/Makefile.am
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/Makefile.am	Thu Dec 30 11:50:02 2010 +0800
+++ b/src/Makefile.am	Fri Dec 31 00:22:10 2010 +0800
@@ -24,7 +24,10 @@
 	observer.c paint.c redraw_man.c rotate.c shape_path.c		\
 	shape_rect.c shift.c subtree_free.c timer.c 			\
 	timertool.c tools.c visibility.c prop.c sprite.c	\
-	mouse.c shape_image.c precomputed.c $(MBAF_SOURCES)
+	mouse.c shape_image.c $(MBAF_SOURCES)
+
+BUILT_SOURCES = precomputed.c precomputed.h
+CLEANFILES = precomputed.c precomputed.h
 
 libmbfly_la_CPPFLAGS =
 libmbfly_la_LDFLAGS =