# Makefile for the test_Rdat_all program 
#
# Notes:

F77 = gfortran
FC =$(F77)
FFLAGS = -g -O -fno-second-underscore -fbounds-check

LFLAGS = $(FFLAGS)

DISK = /Users/friedrichjegerlehner/andromeda

#RHAD = $(DISK)/for/rhad-1.01/
RHAD = ../rhad/

MAKEFILE = make_fitR3Gdat

INCLUDS = ../xRdat-extended.f ../xRdat-nonres.f ../common.h R3Gdataguess.f

MOBJ = \
	fitR3Gdat.o

OBJS   = 

LIBS =  ../qed.a

HL =	$(RHAD)r012.o \
	$(RHAD)r34.o \
	$(RHAD)runal.o \
	$(RHAD)funcs.o \
	$(RHAD)vegas-rhad.o \
	$(RHAD)parameters.o \
	$(RHAD)rhad.o \
	$(RHAD)rqcdHSx.o

fitR3Gdat: $(MOBJ) $(OBJS) $(MAKEFILE) $(INCLUDS) $(LIBS)
	$(F77) $(FFLAGS) -o fitR3Gdat $(MOBJ) $(OBJS) $(HL) $(LIBS) -L/usr/lib
#-ff2c -ldl

fitR3Gdat.o: fitR3Gdat.f $(INCLUDS)
