Mercurial > MadButterfly
view examples/dynamic/Makefile.am @ 277:5006e4abdda5
Allow any elemnt to be a symbol.
author | wycc |
---|---|
date | Sun, 04 Jan 2009 12:01:41 +0800 |
parents | d9a78c859660 |
children | a90fd749af82 61aebecbb994 |
line wrap: on
line source
include $(top_srcdir)/config.mk SUFFIXES=.svg .mbso %.so:%.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) make $(<:.svg=.o) gcc -shared -o $@ $(<:.svg=.o) noinst_PROGRAMS = dynamic hello list button.so scene.so EXTRA_DIST = menu.svg button.svg dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h nodist_dynamic_SOURCES = 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 list_SOURCES = list.c mbapp.c mbapp.h list_LDFLAGS = @cairo_LIBS@ list_LDADD = $(top_builddir)/src/libmbfly.la