# G. Matthias Ullmann						#
# Berlin, 30.10.1996						#
# 								#
# ------------------------------------------------------------- #
# Flags, Libraries etc.
# path for binaries
#
# ---------------------------------------------
CFLAGS    =  -O3 -pedantic -W -Wall
CC = gcc  
#CC = g++
#CXX = g++
# ---------------------------------------------
#osv = IRIX
#CFLAGS    =  -O3 -mips4 -fullwarn 
#CC = cc -O3 -mips4 -fullwarn  
# ---------------------------------------------
AR = ar rv 
# ---------------------------------------------
# Source files

GMULIB = util.o memutil.o mathematik.o  random.o complex.o matrix.o \
	opendx-util.o cube-util.o num-lib.o graph.o
MOLLIB = mol.o tesselation.o surface.o nb-list.o grid.o \
        crd_atom.o my-kabsch.o properties.o pse.o fasta.o
# ---------------------------------------------
# Compilation 
#
all:	libgmu libmol
#
#
libgmu:	$(GMULIB)
	$(AR) libgmu.a $(GMULIB)
#
libmol:	$(MOLLIB)
	$(AR) libmol.a $(MOLLIB) 
# 
clean:	
	rm -f *.o *~ *.a
new:	
	makedepend -fMakefile *.c

# ---------------------------------------------
# DO NOT DELETE THIS LINE -- makedepend depends on it.

