JPGFILES = `echo *.eps | sed 's/\.eps/\.jpg/g'` %.gif: %.eps convert $< $@ %.jpg: %.eps convert $< $@ all: for i in $(JPGFILES); do make $$i; done clean: rm -f *.jpg *.gif *.bak mrproper: clean rm -f *.eps