include $(BTREE)/Make.inc objects = fvn_sparse.o umfpack_wrapper.o all: suitesparse $(objects) suitesparse: ( cd UMFPACK && make ) clean: ( cd AMD && make clean ) ( cd UMFPACK && make clean ) rm -f {*.o,*.oo,*.ipo,*.a,*.mod} install: cp fvn_sparse.mod $(BTREE)/modules umfpack_wrapper.o: umfpack_wrapper.c $(CC) $(CFLAGS) -c umfpack_wrapper.c -IUMFPACK/Include -IAMD/Include -IUFconfig -o umfpack_wrapper.o fvn_sparse.o: fvn_sparse.f90 $(F95) $(F95FLAGS) -c fvn_sparse.f90 -o fvn_sparse.o