Mercurial > MadButterfly
annotate examples/calculator/Makefile.am @ 266:af2d3300f8ff
Add image for document of latex format
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 24 Jan 2009 15:18:30 +0800 |
parents | 2637519e2bd7 |
children | a90fd749af82 |
rev | line source |
---|---|
185
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
180
diff
changeset
|
1 include $(top_srcdir)/config.mk |
c7e5b8779bb5
Move header files into include/mb/ subdirectory and remove symlink 'mb'.
Thinker K.F. Li <thinker@branda.to>
parents:
180
diff
changeset
|
2 |
178 | 3 noinst_PROGRAMS = calc |
4 EXTRA_DIST = calculator_scr.svg | |
5 | |
6 calc_SOURCES = main.c | |
7 nodist_calc_SOURCES = calculator_scr.c calculator_scr.h | |
231
2637519e2bd7
Move mouse event handler and interpreter to src/mouse.c.
Thinker K.F. Li <thinker@branda.to>
parents:
185
diff
changeset
|
8 calc_CPPFLAGS = @cairo_CFLAGS@ $(INCLUDES) |
178 | 9 calc_LDFLAGS = @cairo_LIBS@ |
10 calc_LDADD = $(top_builddir)/src/libmbfly.la | |
11 BUILT_SOURCES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
12 CLEANFILES = calculator_scr.c calculator_scr.h calculator_scr.mb | |
13 | |
14 calculator_scr.mb: $(srcdir)/calculator_scr.svg | |
15 $(top_srcdir)/tools/svg2code.py $? $@ | |
16 | |
17 calculator_scr.h: calculator_scr.mb | |
18 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ | |
19 | |
20 calculator_scr.c: calculator_scr.mb | |
21 m4 -I $(top_srcdir)/tools mb_c_source.m4 $< > $@ |