Mercurial > MadButterfly
comparison examples/drag/Makefile.am @ 199:55533146efdf
Add drag example
author | wycc@wycc-desktop |
---|---|
date | Sat, 06 Dec 2008 15:40:23 +0800 |
parents | |
children | a90fd749af82 |
comparison
equal
deleted
inserted
replaced
198:f9d507a3e1d9 | 199:55533146efdf |
---|---|
1 include $(top_srcdir)/config.mk | |
2 | |
3 noinst_PROGRAMS = ex1 | |
4 EXTRA_DIST = menu.svg | |
5 | |
6 ex1_SOURCES = main.c | |
7 nodist_ex1_SOURCES = menu.c menu.h | |
8 ex1_CPPFLAGS = @cairo_CFLAGS@ -I$(top_srcdir) | |
9 ex1_LDFLAGS = @cairo_LIBS@ | |
10 ex1_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 $< > $@ |