# G. Matthias Ullmann						#
# Heidelberg Dezember 2001					#
# 								#
# --------------------------------------------------------------#
# The order of the libraries is important!!!			#
# ------------------------------------------------------------- #
# ------------------------------------------------------------- #
# Flags, Libraries etc.
# path for binaries
#
CFLAGS   =  -g -pedantic  -O3 -W -Wall -Igmlib -Imtlib -Igzstream
CXXFLAGS   =  -g -pedantic  -O3 -W -Wall -Igmlib -Imtlib -Igzstream 
LIBRARY  =  -g -Lgmlib -lmus -lgmu -lm -Lmtlib -lmtutil  -Lgzstream  -lgzstream -lz 
#--------------------------------------------
# Compile
CC = g++ -pedantic -W -Wall
CXX = g++
AR = ar rv
# ---------------------------------------------
# Source files
#
SURF = test-surface.o
NB = test-energy-nblist.o
VOL = sys.o mit_surface.o test-volume.o volume-help.o cavity_search.o cavity2.o \
      ran2.o grid_helper.o monte_carlo_run.o
# ---------------------------------------------
# Compilation
#
all: vol
surf:	$(SURF)
	$(CC) $(CFLAGS) $(SURF)  $(LIBRARY) -o surf
nb:	$(NB)
	$(CC) $(CFLAGS) $(VOL)  $(LIBRARY) -o nb
vol:	$(VOL)
	$(CC) $(CFLAGS) $(VOL)  $(LIBRARY) -o McVol
clean:
	rm -f *.o *~ McVol
new:
	makedepend -fMakefile  \
	test-surface.c  test-energy-nblist.c

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

