diff examples/calculator/Makefile @ 110:c14cb6d12030

-
author Thinker K.F. Li <thinker@branda.to>
date Fri, 12 Sep 2008 15:31:10 +0800
parents 565b55508c8d
children 5dcfaafd1a9c
line wrap: on
line diff
--- a/examples/calculator/Makefile	Fri Sep 12 14:00:02 2008 +0800
+++ b/examples/calculator/Makefile	Fri Sep 12 15:31:10 2008 +0800
@@ -1,5 +1,5 @@
 SVG=calculator_scr.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) > $@