Blame view

fvn_sparse/Makefile 506 Bytes
b93026039   daniau   git-svn-id: https...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
  
  include $(BTREE)/Make.inc
  
  objects = fvn_sparse.o umfpack_wrapper.o
  
  all: umfpack $(objects)
  
  umfpack:
  		( 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