#######################################################################
#
#  Sample Makefile for compiling sample.x with the Intel compiler.
#
#  Coding history:
#  ---------------
#  05.08.2013: Coded/R.Trampedach (trampeda@lcd.colorado.edu)
#
#  Known bugs: None
#
DEBUG=
#DEBUG= -g -traceback

FFLAGS = -O3 -align dcommons $(DEBUG)
LFLAGS = -O3 -align dcommons $(DEBUG)
FLAG64b= -real-size 64
FC     = ifort

LDR=$(FC)

default: sample.x

.f.x:
	$(FC) $(FFLAGS) -o $*.x

624.o: 624.f
	$(FC) $(FFLAGS) $(FLAG64b) -c 624.f

src=sample.o TtauIntp.o 624.o
sample.x: $(src)
	$(LDR) $(LFLAGS) -o sample.x $(src)

clean:
	-/bin/rm -f *.o *.x
