models/Makefile
branchpyrit
changeset 24 d0d76e8a5203
child 40 929aad02c5f2
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/models/Makefile	Wed Dec 05 18:54:23 2007 +0100
@@ -0,0 +1,35 @@
+ifndef $(ROOT)
+    ROOT=$(shell pwd)/..
+endif
+    
+
+all: models
+
+models: bunny happy dragon
+
+bunny:
+	wget ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz
+	tar xzf bunny.tar.gz
+	rm bunny.tar.gz
+	rm -rf bunny/data
+	mv bunny/reconstruction/* bunny
+	rmdir bunny/reconstruction
+
+happy:
+	wget ftp://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz
+	tar xzf happy_recon.tar.gz
+	rm happy_recon.tar.gz
+	mv happy_recon happy
+
+dragon:
+	wget ftp://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz
+	tar xzf dragon_recon.tar.gz
+	rm dragon_recon.tar.gz
+	mv dragon_recon dragon
+
+clean: ;
+
+distclean:
+	rm -rf bunny
+	rm -rf happy
+	rm -rf dragon