diff examples/dynamic/Makefile.am @ 231:2637519e2bd7

Move mouse event handler and interpreter to src/mouse.c. - Also change makefiles of examples with a better configuration.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 18 Dec 2008 22:37:15 +0800
parents 3e6da6f6a226
children d3fe0a0f3a8b
line wrap: on
line diff
--- a/examples/dynamic/Makefile.am	Wed Dec 17 21:37:39 2008 +0800
+++ b/examples/dynamic/Makefile.am	Thu Dec 18 22:37:15 2008 +0800
@@ -5,12 +5,11 @@
 
 dynamic_SOURCES = main.c
 nodist_dynamic_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb
-dynamic_CPPFLAGS = @cairo_CFLAGS@ -I$(top_srcdir)
+CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES)
 dynamic_LDFLAGS = @cairo_LIBS@ 
 dynamic_LDADD = $(top_builddir)/src/libmbfly.la
 BUILT_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb
 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb
-INCLUDES= @cairo_CFLAGS@ -I$(top_srcdir)
 
 menu.mb: $(srcdir)/menu.svg
 	$(top_srcdir)/tools/svg2code.py $? $@