-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.rh64
executable file
·53 lines (45 loc) · 2.12 KB
/
Makefile.rh64
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
# makefile for MOOG with all of the common block assignments;
# this is for a 64-bit linux machine
# here are the object files
OBJECTS = Abfind.o Abpop.o Abunplot.o Batom.o Begin.o Binary.o \
Binplot.o Binplotprep.o Blankstring.o Blends.o Bmolec.o Boxit.o \
Calmod.o Cdcalc.o Chabund.o Cog.o Cogplot.o Cogsyn.o \
Correl.o Crosscorr.o Curve.o Damping.o Defcolor.o Discov.o \
Doflux.o Drawcurs.o Eqlib.o Ewfind.o \
Ewweighted.o Fakeline.o Findtic.o Finish.o \
Fluxplot.o Gammabark.o Getasci.o Getcount.o Getnum.o Getsyns.o \
Gridplo.o Gridsyn.o Infile.o Inlines.o Inmodel.o Invert.o \
Jexpint.o Lineinfo.o Lineabund.o Linlimit.o \
Makeplot.o Molquery.o Moog.o Mydriver.o \
Nansi.o Nearly.o Number.o Obshead.o \
Oneline.o Opaccouls.o OpacHelium.o OpacHydrogen.o \
Opacit.o Opacmetals.o Opacscat.o Params.o Partfn.o \
Partnew.o Plotit.o Plotremember.o Pltabun.o Pltcog.o \
Pltflux.o Pltspec.o Pointcurs.o Prinfo.o Putasci.o Readobs.o \
Rinteg.o Setmols.o Smooth.o Specplot.o Stats.o Sunder.o Synpop.o \
Synspec.o Synth.o Tablepop.o Taukap.o Total.o Trudamp.o Ucalc.o \
Vargauss.o Vmacro.o Voigt.o Wavecalc.o Weedout.o Writenumber.o
# here are the common files
COMMON = Atmos.com Dummy.com Equivs.com Factor.com Kappa.com Linex.com \
Mol.com Multistar.com Obspars.com Pstuff.com \
Quants.com Multimod.com Dampdat.com
CC = cc
FC = gfortran -ff2c -Wall
# the following lines point to some needed libraries
X11LIB = /usr/lib64
SMLIB = /astro/apps6/opt/sm-2.4.35/lib
# here are the compilation and linking commands
all: MOOG ;
@echo -----------------------------------------------------------------
@echo
@echo make sure that you have entered the proper parameters
@echo for MOOG into the FORTRAN source driver
@echo routine Moog.f !!!!!!!!!!!!
@echo
@echo -----------------------------------------------------------------
MOOG: $(OBJECTS);
$(FC) $(OBJECTS) -o MOOG -L$(X11LIB) -lX11 \
-L$(SMLIB) -lplotsub -ldevices -lutils
$(OBJECTS): $(COMMON)
clean:
-rm -f *.o MOOG libMOOG.a