Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
200:1528209c6c92 | 201:31933f9ee70e |
---|---|
1 include $(top_srcdir)/config.mk | |
2 | |
3 noinst_PROGRAMS = dynamic | |
4 EXTRA_DIST = menu.svg button.svg | |
5 | |
6 dynamic_SOURCES = main.c | |
7 nodist_dynamic_SOURCES = menu.c menu.h button.c button.h | |
8 dynamic_CPPFLAGS = @cairo_CFLAGS@ -I$(top_srcdir) | |
9 dynamic_LDFLAGS = @cairo_LIBS@ | |
10 dynamic_LDADD = $(top_builddir)/src/libmbfly.la | |
11 BUILT_SOURCES = menu.c menu.h menu.mb | |
12 CLEANFILES = menu.c menu.h menu.mb | |
13 | |
14 menu.mb: $(srcdir)/menu.svg | |
15 $(top_srcdir)/tools/svg2code.py $? $@ | |
16 | |
17 menu.h: menu.mb | |
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
19 | |
20 menu.c: menu.mb | |
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ | |
22 | |
23 button.mb: $(srcdir)/button.svg | |
24 $(top_srcdir)/tools/svg2code.py $? $@ | |
25 | |
26 button.h: button.mb | |
27 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
28 | |
29 button.c: button.mb | |
30 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |