3 DIAMOND_FIGURES=$(patsubst %,diamond_%.jpg,F1 SF1 SF2 SF3)
5 MBLAST_FIGURES=$(patsubst %,mblast_%.png,1 2 3 4 5 6)
7 all: $(DIAMOND_FIGURES) $(MBLAST_FIGURES)
11 $(DIAMOND_FIGURES): diamond_%.jpg:
12 wget -O $@ "http://www.nature.com/nmeth/journal/v12/n1/images/nmeth.3176-$*.jpg"
14 $(MBLAST_FIGURES): mblast_%.png:
15 wget -O temp.gif "http://www.omicsonline.org/JDMGPimages/2153-0602-4-135-g00$*.gif"
19 diamond_F1_a.jpg: diamond_F1.jpg
20 convert -crop '335x311+0x0' $^ $@
22 diamond_F1_b.jpg: diamond_F1.jpg
23 convert -crop '320x311+335x0' $^ $@
25 diamond_F1_c.jpg: diamond_F1.jpg
26 convert -crop '291x311+655x0' $^ $@