forked from wintermind/bestpred
-
Notifications
You must be signed in to change notification settings - Fork 0
/
makefile.Absoft
54 lines (46 loc) · 1.46 KB
/
makefile.Absoft
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
###############################################################################
# NAME: makefile
# VERSION: 2.0 beta
# RELEASED: 01 AUGUST 2007
# AUTHORS: Paul M. VanRaden (paul@aipl.arsusda.gov)
# John B. Cole (john.cole@ars.usda.gov)
# DESCRIPTION: makefile for the bestpred package from AIPL.
###############################################################################
all: ageadjs.o ageadj.o aiplage.o bestpred.o bestpred_fmt4.o bestpred_parm.o bestpred_log.o bestpred
ageadjs.o: ageadjs.c
gcc -c ageadjs.c -O2
aiplage.o: aiplage.c aiplage.h
gcc -c aiplage.c -O2
ageadj.o: ageadj.c ageadj.h
gcc -c ageadj.c -O2
bestpred_parm.o: bestpred_parm.f90
f90 -c bestpred_parm.f90 -O2 \
-YEXT_NAMES=LCS -s \
-YEXT_SFX=""
bestpred_log.o: bestpred_log.f90
f90 -c bestpred_log.f90 -O2 \
-YEXT_NAMES=LCS -s \
-YEXT_SFX=""
bestpred.o: bestpred.f90 bestpred_parm.o bestpred_log.o
f90 -c bestpred.f90 -O2 \
-YEXT_NAMES=LCS -s \
-YEXT_SFX="" \
bestpred_parm.o \
bestpred_log.o
bestpred_fmt4.o: bestpred_fmt4.f90 bestpred.o ageadjs.o aiplage.o
f90 -c bestpred_fmt4.f90 -O2 \
-YEXT_NAMES=LCS -s \
-YEXT_SFX="" \
ageadjs.o \
aiplage.o
bestpred: bestpred_main.f90 bestpred.o ageadjs.o aiplage.o bestpred_fmt4.o bestpred_parm.o bestpred_log.o
f90 bestpred_main.f90 -o bestpred -O2 \
-YEXT_NAMES=LCS \
-YEXT_SFX="" \
-s -lm \
ageadjs.o \
aiplage.o \
bestpred_fmt4.o \
bestpred.o \
bestpred_parm.o \
bestpred_log.o