F_SORCES = basg2m.f basm2g.f cc2gll.f cc2gxy.f ccrvll.f ccrvxy.f cg2cll.f \ cg2cxy.f cgrnll.f cgrnxy.f cgszll.f cgszxy.f cll2xy.f cpolll.f \ cpolxy.f cxy2ll.f eqvlat.f geo_ll.f limmath.f ll_geo.f map_xe.f \ map_xy.f mpstrt.f proj_3d.f soblmb.f sobmrc.f sobstr.f stcm1p.f \ stcm2p.f stlmbr.f stvmrc.f x_prod.f xe_xy.f xy_map.f xy_xe.f \ cml2xy.f LIB = libdmapf.a TESTPROG = dmapftst all : library clean $(LIB): $(F_SORCES) $(FC) -c $(FFLAGS) $? $(AR) $(ARFLAGS) $(LIB) $(?:.f=.o) clean: rm -f *.o library: $(LIB) $(TESTPROG) : $(LIB) $(TESTPROG).f scan.f $(FC) -O -o $(TESTPROG) $(TESTPROG).f scan.f $(LIB) test : $(TESTPROG)