Mercurial > MadButterfly
view examples/dynamic/Makefile.am @ 282:61aebecbb994
Fix the compilation error of the dynamic
author | wycc@wycc-desktop |
---|---|
date | Sat, 31 Jan 2009 12:54:13 +0800 |
parents | 5006e4abdda5 |
children | 7d106e4ef66d |
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 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 = 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