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
|
|
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 $< > $@
|