Mercurial > MadButterfly
diff examples/dynamic/Makefile.am @ 201:31933f9ee70e
Chkec in demo for dynamic rectangle creation and button.
author | wycc@wycc-desktop |
---|---|
date | Sun, 07 Dec 2008 18:00:06 +0800 |
parents | |
children | fd3e311e7e5d |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/examples/dynamic/Makefile.am Sun Dec 07 18:00:06 2008 +0800 @@ -0,0 +1,30 @@ +include $(top_srcdir)/config.mk + +noinst_PROGRAMS = dynamic +EXTRA_DIST = menu.svg button.svg + +dynamic_SOURCES = main.c +nodist_dynamic_SOURCES = menu.c menu.h button.c button.h +dynamic_CPPFLAGS = @cairo_CFLAGS@ -I$(top_srcdir) +dynamic_LDFLAGS = @cairo_LIBS@ +dynamic_LDADD = $(top_builddir)/src/libmbfly.la +BUILT_SOURCES = menu.c menu.h menu.mb +CLEANFILES = menu.c menu.h menu.mb + +menu.mb: $(srcdir)/menu.svg + $(top_srcdir)/tools/svg2code.py $? $@ + +menu.h: menu.mb + m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ + +menu.c: menu.mb + m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ + +button.mb: $(srcdir)/button.svg + $(top_srcdir)/tools/svg2code.py $? $@ + +button.h: button.mb + m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ + +button.c: button.mb + m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@