Mercurial > MadButterfly
annotate examples/calculator/Makefile.am @ 179:06a90c35ba67
Add a symbolic link to prevent from compilation error of examples.
author | sylee@eeepc |
---|---|
date | Sun, 02 Nov 2008 11:59:38 +0800 |
parents | d0646a6df46f |
children | ee31a9301a7c |
rev | line source |
---|---|
178 | 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 | |
179
06a90c35ba67
Add a symbolic link to prevent from compilation error of examples.
sylee@eeepc
parents:
178
diff
changeset
|
6 calc_CPPFLAGS = @cairo_CFLAGS@ |
178 | 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 $< > $@ |