-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.maclap
executable file
·56 lines (47 loc) · 2.21 KB
/
Makefile.maclap
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
55
56
# Makefile for MOOG with all of the common block assignments.
# This version was created for a Mac laptop (JS).
# 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
# Specification of Fortran Compiler (FC) and desired options
#FC = gfortran -std=legacy -w
FC = gfortran -m64 -Wall -O4 -ffixed-line-length-72 -ff2c -fallow-argument-mismatch
# Specification of requisite X11 and SuperMongo Libraries
X11LIB = /usr/X11R6/lib
SMLIB = /usr/local/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
# For Mac OS, this linking seems to no longer be necessary: -L$(AQLIB) -laquaterm
$(OBJECTS): $(COMMON)
clean:
-rm -f *.o MOOG libMOOG.a