Mercurial > MadButterfly
view examples/dynamic/Makefile.am @ 290:f65c4589549f
Replace make with $(MAKE) in examples/dynamic/Makefile.am.
- In BSD box, it should invokes gmake instead of make.
- $(MAKE) always replaced by path of 'make' been called.
- $(MAKE) is portable.
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sat, 31 Jan 2009 19:45:50 +0800 |
parents | 5c066380a84e |
children | 2e97e8082d83 |
line wrap: on
line source
include $(top_srcdir)/config.mk #SUFFIXES=.svg .mbso button.so:button.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) $(MAKE) $(<:.svg=.o) $(CC) -shared -o $@ $(<:.svg=.o) mytext.so:mytext.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) $(MAKE) $(<:.svg=.o) $(CC) -shared -o $@ $(<:.svg=.o) scene.so:scene.svg $(top_srcdir)/tools/svg2code.py $< $<.mb m4 -I $(top_srcdir)/tools mb_c_source.m4 $<.mb > $(<:.svg=.c) m4 -I $(top_srcdir)/tools mb_c_header.m4 $<.mb > $(<:.svg=.h) $(MAKE) $(<:.svg=.o) $(CC) -shared -o $@ $(<:.svg=.o) noinst_PROGRAMS = dynamic hello text button.so mytext.so scene.so EXTRA_DIST = menu.svg button.svg dynamic_SOURCES = main.c mbapp.c mbapp.h mbbutton.c mbbutton.h nodist_dynamic_SOURCES = CPPFLAGS = @pangocairo_CFLAGS@ $(INCLUDES) dynamic_LDFLAGS = @pangocairo_LIBS@ dynamic_LDADD = $(top_builddir)/src/libmbfly.la BUILT_SOURCES = CLEANFILES = menu.c menu.h menu.mb button.mb hello_SOURCES = hello.c mbapp.c mbapp.h hello_LDFLAGS = @pangocairo_LIBS@ hello_LDADD = $(top_builddir)/src/libmbfly.la text_SOURCES = text.c mbapp.c mbapp.h text_LDFLAGS = @pangocairo_LIBS@ text_LDADD = $(top_builddir)/src/libmbfly.la