-
Notifications
You must be signed in to change notification settings - Fork 2
/
makefile
41 lines (30 loc) · 957 Bytes
/
makefile
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
EMSOL_HOME = /home/jajhall/EMSOL
FORTRAN = /usr/bin/f95
LLKOPT = -L$(EMSOL_HOME)/lib -lEMSOL
#-static-libcxa
LINC = -I$(EMSOL_HOME)
OBJ= interface.o common_types.o nonlin.o\
slpdrive.o rdprobdi.o diet_drv.o register.o rd_prob_da.o\
solprint.o objfun.o gradient.o confun.o ranprint.o lamprint.o\
filtersl.o diet_time.o slpmain.o phaseI.o ranging.o prt_mdl.o\
int2char.o do_range.o\
getsensitivity.o comfloat.o getindices.o getstatus.o\
correctmixer.o
INC = msg.inc\
return.inc\
pusr.inc\
SLPCOMM.INC
#MOD = common_types.o
OUT=diet
#FFLAGS = -w -check bounds -check arg_temp_created -traceback -fpstkchk -heap-arrays -fpe0 -g
FFLAGS = -w -g -fno-range-check
#FFLAGS = -w -g -d5 -CA -CB -CS -quiet
#FFLAGS = -O
INCLUDE =
all: $(OUT)
%.o:%.f $(INC)
$(FORTRAN) $(FFLAGS) $(INCLUDE) $(LINC) -c $< -o $@
$(OUT): $(OBJ)
$(FORTRAN) $(FFLAGS) -o $(OUT) $(OBJ) $(LLKOPT)
clean:
rm *.o diet