Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
277:5006e4abdda5 | 282:61aebecbb994 |
---|---|
7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) | 7 m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) |
8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) | 8 m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) |
9 make $(<:.svg=.o) | 9 make $(<:.svg=.o) |
10 gcc -shared -o $@ $(<:.svg=.o) | 10 gcc -shared -o $@ $(<:.svg=.o) |
11 | 11 |
12 noinst_PROGRAMS = dynamic hello list button.so scene.so | 12 noinst_PROGRAMS = dynamic hello |
13 EXTRA_DIST = menu.svg button.svg | 13 EXTRA_DIST = menu.svg button.svg |
14 | 14 |
15 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h | 15 dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h |
16 nodist_dynamic_SOURCES = | 16 nodist_dynamic_SOURCES = |
17 CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES) | 17 CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES) |
18 dynamic_LDFLAGS = @cairo_LIBS@ | 18 dynamic_LDFLAGS = @cairo_LIBS@ |
19 dynamic_LDADD = $(top_builddir)/src/libmbfly.la | 19 dynamic_LDADD = $(top_builddir)/src/libmbfly.la |
20 BUILT_SOURCES = menu.c menu.h menu.mb button.c button.h button.mb | 20 BUILT_SOURCES = |
21 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb | 21 CLEANFILES = menu.c menu.h menu.mb button.c button.h button.mb |
22 | 22 |
23 | 23 |
24 hello_SOURCES = hello.c mbapp.c mbapp.h | 24 hello_SOURCES = hello.c mbapp.c mbapp.h |
25 hello_LDFLAGS = @cairo_LIBS@ | 25 hello_LDFLAGS = @cairo_LIBS@ |
26 hello_LDADD = $(top_builddir)/src/libmbfly.la | 26 hello_LDADD = $(top_builddir)/src/libmbfly.la |
27 | 27 |
28 list_SOURCES = list.c mbapp.c mbapp.h | |
29 list_LDFLAGS = @cairo_LIBS@ | |
30 list_LDADD = $(top_builddir)/src/libmbfly.la | |
31 | 28 |
32 | 29 |