MCS = mcs MONO = mono plot.png: out.txt Makefile echo '\ set term png;\ set out "$@";\ set xlabel "r, a_B";\ set ylabel "f(r), arb.u.";\ plot \ "$<" u 1:2 with lines title "calculated" \ ,"$<" u 1:3 with lines title "exact" \ '| gnuplot out.txt: main.exe mono $< 1>log 2> $@ main.exe: main.cs matrix.dll $(MCS) $< -reference:matrix.dll matrix.dll: \ amoeba.cs \ ../matrix/matrix.cs \ ../matrix/vector.cs \ ../matrix/cholesky.cs \ ../matrix/jacobi.cs \ ../matrix/eigen.cs \ ../matrix/xtensions.cs mcs -out:$@ -target:library $^ clean: ; $(RM) *.exe *.dll out.* *log