Makefile 988 Bytes
include $(BTREE)/Make.inc

programs = test_fac$(exext) test_matinv$(exext) test_specfunc$(exext)  \
test_det$(exext) test_matcon$(exext) test_inter1d$(exext) \
test_inter2d$(exext) test_inter3d$(exext) test_akima$(exext) test_lsp$(exext) test_muller$(exext) \
test_integ$(exext) test_bsyn$(exext) test_bsjn$(exext) test_bskn$(exext) test_bsin$(exext) test_operators$(exext) test_ze1$(exext) \
test_besri$(exext) test_besrj$(exext) test_bestime$(exext) \
test_sparse_zi$(exext) test_sparse_zl$(exext) test_sparse_di$(exext) test_sparse_dl$(exext) \
test_lm$(exext) test_matev_c$(exext) test_matev_r$(exext)

prog:$(programs)

clean:
		rm -f {*.o,*.oo,*.ipo,*.a,*.mod,*.dat}
		rm -f $(programs)

%$(exext): %.o
		$(LINK) $(LINKFLAGS) $< init_random_seed.o $(LINKFVN) -o $@

%.o: %.f90
		$(F95) $(F95FLAGS) -c $< -o $@

$(programs): init_random_seed.o

test_lm.o: test_lm.f90 excursion.o

test_lm$(exext): test_lm.o excursion.o
		$(LINK) $(LINKFLAGS) test_lm.o excursion.o $(LINKFVN) -o $@