-
Notifications
You must be signed in to change notification settings - Fork 0
/
xlf.mak
35 lines (28 loc) · 789 Bytes
/
xlf.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
#==============================================================================
# Makefile for fsc (SGI)
#
# Author: Scott Collis
#
# Revised: 1-29-97
#
#==============================================================================
NAME = fsc
DEBUG =
FFLAGS = -c -qrealsize=8 -qfixed=120 -qsuppress=cmpmsg -O2 $(DEBUG)
F90FLAGS = -c -qrealsize=8 -qsuffix=f=f90:cpp=f90 -qsuppress=cmpmsg \
-O2 -c $(DEBUG)
OFLAGS = -O2 $(DEBUG) -o $(NAME)
LIB = $(HOME)/lib/bslib.a
COMP = xlf90
.SUFFIXES: .f90
OBJECTS = fsc.o numrec.o
$(NAME): $(OBJECTS)
$(COMP) $(OFLAGS) $(OBJECTS) $(LIB)
attach: attach.o numrec.o
$(COMP) $(F90FLAGS) $(DEBUG) -o attach attach.o numrec.o $(LIB)
.f90.o:
$(COMP) $(F90FLAGS) $*.f90
.f.o:
xlf $(FFLAGS) $*.f
clean:
/bin/rm *.o *.mod