# G. Matthias Ullmann						#
# Berlin, 30.10.1996						#
# 								#
# ------------------------------------------------------------- #
# Flags, Libraries etc.
# path for binaries
#
# ---------------------------------------------
osv = Linux2.4
CFLAGS    =   -pedantic -W -Wall
CC = g++-4.3 -g -pedantic -W -Wall  
# ---------------------------------------------
#osv = IRIX
#CFLAGS    =  -O3 -mips4 -fullwarn 
#CC = cc -O3 -mips4 -fullwarn  
# ---------------------------------------------
AR = ar rv 
#CC = gcc
# ---------------------------------------------
# Source files
#
GMULIB = util_c.o nrutil.o mathematik.o  random.o complex.o matrix.o 
MUSLIB = mus_atom.o properties.o surface.o nb-list.o grid.o energy.o \
	sc-torsion.o crd_atom.o my-kabsch.o radius.o 
# ---------------------------------------------
# Compilation 
#
all:	libgmu libmus 
libgmu:	$(GMULIB)
	$(AR) libgmu.a $(GMULIB)
#	cp -f libgmu.a ../Lib.$(osv) 
libmus:	$(MUSLIB)
	$(AR) libmus.a $(MUSLIB) 
#	cp -f libmus.a ../Lib.$(osv) 
clean:	
	rm -f *.o *~ *.a
new:	
	makedepend -fMakefile \
	util_c.c nrutil.c mathematik.c  random.c complex.c \
	mus_atom.c properties.c surface.c nb-list.c grid.c \
        energy.c sc-torsion.c crd_atom.c my-kabsch.c radius.c \
	matrix.c lapack.c ../Lib/*.a

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