lcsf: lcs.f
	f77 -o lcs lcs.f

lcsc: lcs.c
	gcc -lm -o lcs lcs.c

plot: output.dat
	gnuplot plot

compare:
	gcc -lm -o lcs lcs.c
	# running C code:
	time ./lcs
	f77 -o lcs lcs.f
	# running Fortran code:
	time ./lcs
