comparison examples/tank/Makefile.am @ 258:f24129d4f0f9

Files generated by tools should not part of EXTRA_DIST.
author Thinker K.F. Li <thinker@branda.to>
date Thu, 15 Jan 2009 17:00:58 +0800
parents cac9ad3df633
children c8b6ca46950b
comparison
equal deleted inserted replaced
257:50d253d0fcba 258:f24129d4f0f9
21 $(svg_sources:.c=.h): %.h: %.mb 21 $(svg_sources:.c=.h): %.h: %.mb
22 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@ 22 m4 -I $(top_srcdir)/tools mb_c_header.m4 $< > $@
23 23
24 $(svg_sources:.c=.mb): %.mb: $(srcdir)/%.svg 24 $(svg_sources:.c=.mb): %.mb: $(srcdir)/%.svg
25 $(top_srcdir)/tools/svg2code.py $? $@ 25 $(top_srcdir)/tools/svg2code.py $? $@
26 26
27 svgs.h: $(svg_sources:.c=.h) 27 svgs.h: $(svg_sources:.c=.h)
28 echo "#ifndef __SVGS_H_" > $@ 28 echo "#ifndef __SVGS_H_" > $@
29 echo "#define __SVGS_H_" >> $@ 29 echo "#define __SVGS_H_" >> $@
30 echo >> $@ 30 echo >> $@
31 for H in $(svg_sources:.c=.h); do \ 31 for H in $(svg_sources:.c=.h); do \