diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-08-03 14:49:58 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-08-03 14:49:58 -0400 |
commit | e9293da11f685d17e2002bb06f0fd756845dadfd (patch) | |
tree | 0ce16357b71b44bf5af0be717830b361ecc25700 /Makefile.rh64 | |
parent | af8fa097905186e0d8ba257e4d70d63fe8901264 (diff) | |
download | moog-e9293da11f685d17e2002bb06f0fd756845dadfd.tar.gz |
Changeset:
* Simplify Makefile
* Accept input file as command line argument
* Increase path length to 1024 for all path-related variables
* Replace hard-coded path to \*.dat files with environment variable MOOG_DATA
* SM needs double precision for several of its functions. Pass REAL8 not REAL4 to those.
Diffstat (limited to 'Makefile.rh64')
-rwxr-xr-x | Makefile.rh64 | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/Makefile.rh64 b/Makefile.rh64 deleted file mode 100755 index d0c9a97..0000000 --- a/Makefile.rh64 +++ /dev/null @@ -1,53 +0,0 @@ -# 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 |