diff examples/svg2code_ex/Makefile @ 110:c14cb6d12030

-
author Thinker K.F. Li <thinker@branda.to>
date Fri, 12 Sep 2008 15:31:10 +0800
parents 565b55508c8d
children 7d700e5f82ba
line wrap: on
line diff
--- a/examples/svg2code_ex/Makefile	Fri Sep 12 14:00:02 2008 +0800
+++ b/examples/svg2code_ex/Makefile	Fri Sep 12 15:31:10 2008 +0800
@@ -1,5 +1,5 @@
 SVG=svg2code_ex.svg
-TOOLSDIR=../../tools
+TOOLSDIR=/usr/local/share/mb
 INCS=-I/usr/local/include
 CFLAGS+=`pkg-config --cflags cairo` $(INCS) -Wall
 LDFLAGS=-L/usr/local/lib `pkg-config --libs cairo`
@@ -18,7 +18,7 @@
 	$(CC) -c $(CFLAGS) -o $@ $(SVG:C/.svg/.c/)
 
 $(SVG:C/.svg/.mb/): $(SVG)
-	$(TOOLSDIR)/svg2code.py $(.ALLSRC) $@
+	/usr/local/bin/svg2code.py $(.ALLSRC) $@
 
 $(SVG:C/.svg/.c/): $(SVG:C/.svg/.mb/)
 	m4 -I $(TOOLSDIR) mb_c_source.m4 $(.ALLSRC) > $@