models/Makefile
branchpyrit
changeset 24 d0d76e8a5203
child 40 929aad02c5f2
equal deleted inserted replaced
23:7e258561a690 24:d0d76e8a5203
       
     1 ifndef $(ROOT)
       
     2     ROOT=$(shell pwd)/..
       
     3 endif
       
     4     
       
     5 
       
     6 all: models
       
     7 
       
     8 models: bunny happy dragon
       
     9 
       
    10 bunny:
       
    11 	wget ftp://graphics.stanford.edu/pub/3Dscanrep/bunny.tar.gz
       
    12 	tar xzf bunny.tar.gz
       
    13 	rm bunny.tar.gz
       
    14 	rm -rf bunny/data
       
    15 	mv bunny/reconstruction/* bunny
       
    16 	rmdir bunny/reconstruction
       
    17 
       
    18 happy:
       
    19 	wget ftp://graphics.stanford.edu/pub/3Dscanrep/happy/happy_recon.tar.gz
       
    20 	tar xzf happy_recon.tar.gz
       
    21 	rm happy_recon.tar.gz
       
    22 	mv happy_recon happy
       
    23 
       
    24 dragon:
       
    25 	wget ftp://graphics.stanford.edu/pub/3Dscanrep/dragon/dragon_recon.tar.gz
       
    26 	tar xzf dragon_recon.tar.gz
       
    27 	rm dragon_recon.tar.gz
       
    28 	mv dragon_recon dragon
       
    29 
       
    30 clean: ;
       
    31 
       
    32 distclean:
       
    33 	rm -rf bunny
       
    34 	rm -rf happy
       
    35 	rm -rf dragon