-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsgi.mak
54 lines (40 loc) · 1.16 KB
/
sgi.mak
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#==============================================================================
# Makefile for shoot (SGI)
#
# Author: Scott Collis
#
# Revised: 1-29-97
#
# Currently needs IMSL library
#
#==============================================================================
NAME = shoot
DEBUG =
FFLAGS = -O2 -r8 -cpp -c $(DEBUG)
F90FLAGS = -O2 -r8 -cpp -c $(DEBUG)
OFLAGS = -O2 -r8 $(DEBUG) -o $(NAME)
LIB = -lcomplib.sgimath /usr/people/collis/lib/bslib/bslib.a
COMP = f90
.SUFFIXES: .f90
MODS = global.o stencils.o
OBJECTS = shoot.o matrix.o input.o getmat.o makename.o spline.o \
initial.o calch.o solve.o adjsolv.o adjini.o output.o parallel.o
OBJS1 = odeint.o conte.o parder.o adjder.o mean2d.o rtsafe.o
OBJS2 = grad.o grad2.o g1.o
OBJS3 = nonpar.o
$(NAME): $(MODS) $(OBJECTS) $(OBJS1) $(OBJS2) $(OBJS3)
$(COMP) $(OFLAGS) $(MODS) $(OBJECTS) $(OBJS1) $(OBJS2) $(OBJS3) $(LIB)
$(OBJECTS): global.o
$(COMP) $(F90FLAGS) $*.f90
$(MODS):
$(COMP) $(F90FLAGS) $*.f90
$(OBJS2): stencils.o
$(COMP) $(F90FLAGS) $*.f90
$(OBJS3):
$(COMP) -DIMSL $(F90FLAGS) $*.f90
.f90.o:
$(COMP) $(F90FLAGS) $*.f90
.f.o:
f77 $(FFLAGS) $*.f
clean:
/bin/rm *.o *.mod