changeset 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 13ce87b6dbf5
children 137a73822d48
files examples/dynamic/Makefile.am
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/examples/dynamic/Makefile.am	Sat Jan 31 18:28:50 2009 +0800
+++ b/examples/dynamic/Makefile.am	Sat Jan 31 19:45:50 2009 +0800
@@ -6,20 +6,20 @@
 	$(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)
+	$(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)
+	$(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)
+	$(MAKE) $(<:.svg=.o)
 	$(CC) -shared -o $@ $(<:.svg=.o)
 
 noinst_PROGRAMS = dynamic hello text button.so mytext.so scene.so