-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile_SCAT.macos
executable file
·68 lines (58 loc) · 2.56 KB
/
Makefile_SCAT.macos
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
57
58
59
60
61
62
63
64
65
66
67
68
# Makefile for MOOG with all of the common block assignments;
# Modified by J. Sobeck
# MacBook Pro M1 System; Monterey OS
# Updated 2022
# here are the object files
OBJECTS = Abfind_SCAT.o Abpop_SCAT.o Abunplot.o Ang_Weight_SCAT.o \
Batom.o Begin.o Binary_SCAT.o \
Binplot.o Binplotprep.o Blankstring.o Blends_SCAT.o \
Bmolec.o Boxit.o \
Calmod.o Cdcalc_SCAT.o Chabund.o Cog_SCAT.o Cogplot.o Cogsyn_SCAT.o \
Correl.o Crosscorr.o Curve_SCAT.o Damping.o Defcolor.o Discov.o \
Doflux_SCAT.o Drawcurs.o Eqlib.o Ewfind_SCAT.o \
Ewweighted.o Fakeline_SCAT.o Findtic.o Finish.o \
Fluxplot.o Gammabark.o Getasci.o Getcount.o \
Gauss_Quad_Sum.o Getnum.o Getsyns_SCAT.o \
Gridplo.o Gridsyn_SCAT.o Infile.o Inlines.o Inmodel.o Invert.o \
Jexpint.o Lineinfo.o Lineabund_SCAT.o Linlimit.o \
Makeplot.o Molquery.o Moog_SCAT.o Mydriver.o \
Nansi.o Nearly.o Number.o Obshead.o \
Oneline_SCAT.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_SCAT.o Synspec_SCAT.o \
Sourcefunc_cont_SCAT.o Sourcefunc_line_SCAT.o \
Synth_SCAT.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 Scat.com
#FFLAGS = -ffixed-line-length-72 -ff2c -m64 -Wall -O1 (previous flag set)
CC = cc
FC = gfortran -m64 -Wall -O4 -ffixed-line-length-72 -ff2c -fallow-argument-mismatch
# the following lines point to some needed libraries
X11LIB = /usr/X11R6/lib
SMLIB = /usr/local/lib
#AQLIB = /usr/local/lib (no longer necessary)
# here are the compilation and linking commands
all: MOOG ;
@echo -----------------------------------------------------------------
@echo
@echo make sure that you have entered the proper parameters
@echo for MOOG_SCAT into the FORTRAN source driver
@echo routine Moog_SCAT.f !!!!!!!!!!!!
@echo
@echo NOTE: The inital way to call MOOG_SCAT in the local install
@echo directory is to type ./MOOG_SCAT at the command line prompt.
@echo
@echo
@echo -----------------------------------------------------------------
MOOG: $(OBJECTS);
$(FC) $(OBJECTS) -o MOOG_SCAT -L$(X11LIB) -lX11 \
-L$(SMLIB) -lplotsub -ldevices -lutils
$(OBJECTS): $(COMMON)
clean:
-rm -f *.o MOOG_SCAT libMOOG.a