#
# Makefile for version 4.0
# Russell Carter
# August 24, 1993
#
# 
# Standalone use of this makefile requires that the
# following macros be set:
#
#SIZE     = sample
#SIZE     = A
#SIZE     = B
#
# for sun compilers
#F77      = /usr/lang/ftn1.4/f77
#F77FLAGS = -O3
#
# for sgi compilers
#F77      = f77
#F77FLAGS = -O4
#
# for cray compilers:
#F77      = cf77
#F77FLAGS = -Zp       
#

KERNEL   = mgrid
TARGET   = $(KERNEL).$(SIZE)
EXE      = $(TARGET).exe

.IGNORE:

$(EXE):	$(KERNEL).f
	$(F77) $(F77FLAGS) -o $@  $(KERNEL).f

clean:
	rm -f *.exe $(KERNEL).out

distclean: clean
	rm -f $(KERNEL).f
