protokoll5.pdf: protokoll5.dvi
	dvipdfm protokoll5.dvi

protokoll5.dvi: protokoll5.tex erregerstrom.eps widerstand_feldplatte.eps relativer_widerstand_feldplatte.eps hallgoldiconst.eps hallgoldbconst.eps hallwiderstandgoldbconst.eps hallwiderstandgoldiconst.eps hallinasiconst.eps hallinasbconst.eps hallwiderstandinasiconst.eps hallrelativerwiderstandinasiconst.eps hallwiderstandinasbconst.eps
	latex protokoll5.tex

erregerstrom.eps: DatenErregerstrom.txt Erregerstrom.txt	
	gnuplot Erregerstrom.txt

widerstand_feldplatte.eps: DatenErregerstrom.txt WiderstandFeldplatte.txt
	gnuplot WiderstandFeldplatte.txt

relativer_widerstand_feldplatte.eps: DatenErregerstrom.txt RelativerWiderstandFeldplatte.txt
	gnuplot RelativerWiderstandFeldplatte.txt

hallgoldiconst.eps: DatenHallGoldIconst.txt HallGoldIconst.txt
	gnuplot HallGoldIconst.txt

hallgoldbconst.eps: DatenHallGoldBconst.txt HallGoldBconst.txt
	gnuplot HallGoldBconst.txt

hallwiderstandgoldbconst.eps: DatenHallGoldBconst.txt HallWiderstandGoldBconst.txt
	gnuplot HallWiderstandGoldBconst.txt

hallwiderstandgoldiconst.eps: DatenHallGoldIconst.txt HallWiderstandGoldIconst.txt
	gnuplot HallWiderstandGoldIconst.txt

hallinasiconst.eps: DatenHallInAsIconst.txt HallInAsIconst.txt
	gnuplot HallInAsIconst.txt

hallinasbconst.eps: DatenHallInAsBconst.txt HallInAsBconst.txt
	gnuplot HallInAsBconst.txt

hallwiderstandinasiconst.eps: DatenHallInAsIconst.txt HallWiderstandInAsIconst.txt
	gnuplot HallWiderstandInAsIconst.txt

hallrelativerwiderstandinasiconst.eps: DatenHallInAsIconst.txt HallRelativerWiderstandInAsIconst.txt
	gnuplot HallRelativerWiderstandInAsIconst.txt

hallwiderstandinasbconst.eps: DatenHallInAsBconst.txt HallWiderstandInAsBconst.txt
	gnuplot HallWiderstandInAsBconst.txt

show: protokoll5.pdf
	evince protokoll5.pdf

clean:
	rm -rf protokoll5.aux
	rm -rf protokoll5.dvi
	rm -rf protokoll5.pdf
	rm -rf protokoll5.toc
	rm -rf protokoll5.log
	rm -rf fit.log
	rm -rf erregerstrom.eps
	rm -rf widerstand_feldplatte.eps
	rm -rf relativer_widerstand_feldplatte.eps
	rm -rf hallgoldbconst.eps
	rm -rf hallgoldiconst.eps
	rm -rf hallinasbconst.eps
	rm -rf hallinasiconst.eps
	rm -rf hallrelativerwiderstandinasiconst.eps
	rm -rf hallwiderstandgoldbconst.eps
	rm -rf hallwiderstandgoldiconst.eps
	rm -rf hallwiderstandinasbconst.eps
	rm -rf hallwiderstandinasiconst.eps
