RM = rm -f
GNUPLOT =  gnuplot

all: $(patsubst   %.gnuplot,%.eps, $(wildcard *.gnuplot))

%.svg: %.gnuplot
	$(GNUPLOT) -e "set terminal svg; set output \"$@\" " $< 


%.eps: %.svg
	inkscape --export-type="eps" $<

clean:
	$(RM) *.eps *.svg  *~ *.backup
