Mercurial > MadButterfly
view examples/dynamic/Makefile.am @ 267:cac3f084a9b1
Fix bug in document
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 24 Jan 2009 15:23:42 +0800 |
parents | f24129d4f0f9 |
children | c8b6ca46950b |
line wrap: on
line source
include $(top_srcdir)/config.mk noinst_PROGRAMS = dynamic hello button.so scene.so EXTRA_DIST = menu.svg button.svg scene.svg dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h nodist_dynamic_SOURCES = \ menu.c menu.h menu.mb \ button.c button.h button.mb \ scene.c scene.h scene.mb 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 hello_SOURCES = hello.c mbapp.c mbapp.h hello_LDFLAGS = @cairo_LIBS@ hello_LDADD = $(top_builddir)/src/libmbfly.la 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.so: button.o gcc -shared -o button.so button.o 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 $< > $@ button.o: button.h scene.so: scene.o gcc -shared -o scene.so scene.o scene.mb: $(srcdir)/scene.svg $(top_srcdir)/tools/svg2code.py $? $@ scene.h: scene.mb m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ scene.c: scene.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ scene.o: scene.h