Blame view

fvn_sparse/Makefile 586 Bytes
b93026039   daniau   git-svn-id: https...
1
2
3
4
  
  include $(BTREE)/Make.inc
  
  objects = fvn_sparse.o umfpack_wrapper.o
19e954a45   cwaterkeyn   ChW : added modul...
5
  modobjects = fvn_sparse.o
b93026039   daniau   git-svn-id: https...
6

410c0dfaf   daniau   git-svn-id: https...
7
  all: suitesparse $(objects)
b93026039   daniau   git-svn-id: https...
8

410c0dfaf   daniau   git-svn-id: https...
9
10
  suitesparse:
  		( cd UMFPACK && make ) 
b93026039   daniau   git-svn-id: https...
11

19e954a45   cwaterkeyn   ChW : added modul...
12
13
  modules: $(modobjects)
  	rm -f $(modobjects)
b93026039   daniau   git-svn-id: https...
14
15
16
17
18
19
20
21
22
23
24
25
26
  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