CMD=    sample_read

OBJS=   MDV_field_routines.o MDV_header_routines.o MDV_UTIL.o

F77 = f77

# had to redefine F77 and CC on Mac
F77 = pgf77
CC = pgcc

sample_read  : $(OBJS) sample_read.f
	$(F77) -o $@ $(OBJS) sample_read.f -I.

clean::
	/bin/rm $(CMD) $(OBJS) 
