BIN=/home/adam/UNRES/bin
INSTALL_DIR = /usr/local/mpich-1.2.7p1-intel
-FC= ifort
-OPT = -O3 -ip -w
-FFLAGS = ${OPT} -I.
-CPPFLAGS = -DLINUX
+#FC= ifort
+#OPT = -O3 -ip -w
+#OPT = -g -CB
+#FFLAGS = ${OPT} -I.
+#CPPFLAGS = -DLINUX -DNEWUNRES
# Next for debugging
-#FC = f77
+FC = gfortran
#OPT = -g -fbounds-check
-#CPPFLAGS = -DLINUX -DG77
+OPT = -O3
+CPPFLAGS = -DLINUX -DG77 -DNEWUNRES
-LIBS =
+LIBS = xdrf/libxdrf.a
.SUFFIXES: .F
.F.o:
.f.o:
$(FC) -c $(CPPFLAGS) $(FFLAGS) $<
-objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o \
+objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o cxread.o \
matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
geomout.o readpdb.o fitsq.o hc.o \
track.o wrtclust.o srtclust.o noyes.o contact.o
-unres_clust: $(objects)
+unres_clust: $(objects) xdrf/libxdrf.a
cc -o compinfo compinfo.c
./compinfo | true
${FC} -c cinfo.f
$(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/unres_clust-ifort.exe
+xdrf/libxdrf.a:
+ cd xdrf && make
+
clean:
/bin/rm *.o