POTRACE=/home/selinger/projects/potrace/src/potrace .SUFFIXES: .pbm .eps -orig3.png -smooth3.png -orig2.png -smooth2.png TARGETS = head-orig3.png head-smooth3.png head.eps TARGETS += wheel-orig2.png wheel-smooth2.png wheel.eps TARGETS += stanford-orig2.png stanford-smooth2.png stanford.eps TARGETS += writing-orig2.png writing-smooth2.png writing.eps TARGETS += faces-orig2.png faces-smooth2.png faces.eps TARGETS += letters-orig2.png letters-smooth2.png letters.eps all: $(TARGETS) chmod a+r $(TARGETS) .pbm-smooth2.png: cat $+ | $(POTRACE) -gx2 | pnmdepth 15 | pnmtopng > $@ .pbm-smooth3.png: cat $+ | $(POTRACE) -gx3 | pnmdepth 15 | pnmtopng > $@ .pbm-orig2.png: cat $+ | pnmscale 2 | pnmtopng > $@ .pbm-orig3.png: cat $+ | pnmscale 3 | pnmtopng > $@ .pbm.eps: cat $+ | $(POTRACE) > $@ clean: rm -f $(TARGETS)