#
# Makefile for Monstergauss and utilities on Unix systems.
# --------------------------------------------------------
#
# Version: 2 May 1991.
#
# This makefile supports the following commands:
#
# basis: build executable "~/bin/basis" from source files.
# clean: clean up "*.o" and "core".
#
# "Basis" is a program to extract basis sets from the basis set
# tables collected by R. Poirier, R. Kari and I.G. Csizmadia.
#
#
# Set compiler options:
# ---------------------
#
# Apollo systems running SR10 or higher (set FLOAT to cpu type):
#
F77=f77
CFLAGS=-O $$FLOAT
FFLAGS=-O $$FLOAT
FFLAGS2=$$FLOAT
LDFLAGS=
#
# HP systems running HP-UX:
#
#F77=f77
#CFLAGS=-O
#FFLAGS=-O +Obb800
#FFLAGS2=
#LDFLAGS=
#
# Sun systems (make sure the FLOAT_OPTION is set correctly):
#
#F77=f77
#CFLAGS=-O
#FFLAGS=-O
#FFLAGS2=
#LDFLAGS=
#
# Silicon Graphics / MIPS systems:
#
#F77=f77
#CFLAGS=-O2
#FFLAGS=-O2 -Olimit 1500 -nocpp
#FFLAGS2=-O0 -nocpp
#LDFLAGS=
#
# IBM RS/6000 systems:
#
#F77=xlf
#CFLAGS=-O
#FFLAGS=-O -NQ240000 -NT240000 -qextname -yn
#FFLAGS2=-g -NQ240000 -NT240000 -qextname -yn
#LDFLAGS=
#
# Stardent systems:
#
#F77=fc
#CFLAGS=-O
#FFLAGS=-O1
#FFLAGS2=-g
#LDFLAGS=
#
# "basis": make the executable (basis).
# Install the executable into ~/bin automatically.
#
basis:
$(F77) $(FFLAGS) basis.f -o basis $(LDFLAGS)
mv basis $$HOME/bin/basis
rm -f basis.o
#
# "clean": clean up objects and "core" files.
#
clean:
-rm -f *.o core $$HOME/bin/core $$HOME/core
|