# Warning, this is a totally stupid Makefile that will not check for anything 
# nor take care if something goes wrong. I don't take any responsibility if it 
# will delete all your data or burn down your computer.
#
# makefile for Fabrics
#
#uncomment line according to your compiler
#COMP = g77
COMP = gfortran -std=legacy

all : ishapesPure.f paror.f surfor.f scasmoFull.f
	$(COMP)  -o ishapes ishapesPure.f
	$(COMP)  -o paror paror.f
	$(COMP)  -o surfor surfor.f
	$(COMP)  -o scasmo scasmoFull.f
	
clean :
	@ - rm -f {surfor,paror,ishapes,scasmo} >/dev/null 2>&1

install : 
	@ echo "copy binaries to /usr/local/bin", make sure it exists and is in your $PATH
	@ cp {surfor,paror,ishapes,scasmo} /usr/local/bin

