PYX = $(shell ls *.pyx) EPS = $(PYX:.pyx=.eps) %.eps: %.pyx ~/build/pyxplot/pyxplot $< all: $(EPS) .PHONY: clean clean: rm -rf $(EPS)