Mercurial > MadButterfly
comparison examples/calculator/Makefile.am @ 178:d0646a6df46f
Autoolize examples.
author | sylee@eeepc |
---|---|
date | Sun, 02 Nov 2008 02:37:18 +0800 |
parents | |
children | 06a90c35ba67 |
comparison
equal
deleted
inserted
replaced
177:c8cf6343868b | 178:d0646a6df46f |
---|---|
1 noinst_PROGRAMS = calc | |
2 EXTRA_DIST = calculator_scr.svg | |
3 | |
4 calc_SOURCES = main.c | |
5 nodist_calc_SOURCES = calculator_scr.c calculator_scr.h | |
6 calc_CPPFLAGS = @cairo_CFLAGS@ -I$(srcdir) | |
7 calc_LDFLAGS = @cairo_LIBS@ | |
8 calc_LDADD = $(top_builddir)/src/libmbfly.la | |
9 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
10 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
11 | |
12 calculator_scr.mb: $(srcdir)/calculator_scr.svg | |
13 $(top_srcdir)/tools/svg2code.py $? $@ | |
14 | |
15 calculator_scr.h: calculator_scr.mb | |
16 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
17 | |
18 calculator_scr.c: calculator_scr.mb | |
19 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |