IPEFILES = $(wildcard *.ipe) PDFFILES = $(wildcard *.pdf) SVGFILES = $(patsubst %.ipe,%.svg,$(IPEFILES)) $(patsubst %.pdf,%.svg,$(PDFFILES)) all: $(SVGFILES) %.svg : %.ipe iperender -svg $< $@ %.svg : %.pdf iperender -svg $< $@ clean: rm -f \ $(SVGFILES) .PHONY: all clean