-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile.rpn
37 lines (32 loc) · 1.45 KB
/
Makefile.rpn
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
LIBDIR=../bin
INCDIR=.
BINDIR=../bin
RMN=rmn
OPTFLAGS=-O 2
make_tracks.abs: make_tracks.ftn libtracks.a libtracks_tools.a tracks_cte.h
mkdir -p $(BINDIR)
. ssmuse-sh -d hpcs/201402/02/base -d hpcs/201402/02/intel13sp1u2 -d rpn/libs/15.2;\
s.compile -src make_tracks.ftn -o $(BINDIR)/make_tracks.abs -includes $(INCDIR) -librmn $(RMN) $(OPTFLAGS) -libpath $(LIBDIR) -libappl "tracks tracks_tools"
rm -f make_tracks.f make_tracks.o
rm -rf .fo
libtracks.a: libtracks.ftn tracks_cte.h
mkdir -p $(LIBDIR)
. ssmuse-sh -d hpcs/201402/02/base -d hpcs/201402/02/intel13sp1u2 -d rpn/libs/15.2;\
s.compile -src libtracks.ftn -librmn $(RMN) -includes $(INCDIR)
rm -f $(LIBDIR)/libtracks.a
ar rv $(LIBDIR)/libtracks.a libtracks.o
ranlib $(LIBDIR)/libtracks.a
rm -f libtracks.o libtracks.f
libtracks_tools.a: libtracks_tools.ftn tracks_cte.h
mkdir -p $(LIBDIR)
. ssmuse-sh -d hpcs/201402/02/base -d hpcs/201402/02/intel13sp1u2 -d rpn/libs/15.2;\
s.compile -src libtracks_tools.ftn -librmn $(RMN) -includes $(INCDIR)
rm -f $(LIBDIR)/libtracks_tools.a
ar rv $(LIBDIR)/libtracks_tools.a libtracks_tools.o
ranlib $(LIBDIR)/libtracks_tools.a
rm -f libtracks_tools.o libtracks_tools.f
mt2gmt5: mt2gmt5.ftn
mkdir -p $(BINDIR)
. ssmuse-sh -d hpcs/201402/02/base -d hpcs/201402/02/intel13sp1u2 -d rpn/libs/15.2;\
s.compile -src mt2gmt5.ftn -o $(BINDIR)/mt2gmt5 -includes $(INCDIR) -librmn $(RMN) $(OPTFLAGS) -libpath $(LIBDIR) -libappl "tracks"
rm -f mt2gmt5.f mt2gmt5.o