Merge branch 'prerelease-3.2.1' into czarek
[unres.git] / source / cluster / unres / src / Makefile_pgi
diff --git a/source/cluster/unres/src/Makefile_pgi b/source/cluster/unres/src/Makefile_pgi
new file mode 100644 (file)
index 0000000..a44eb2a
--- /dev/null
@@ -0,0 +1,30 @@
+BIN=/home/adam/UNRES/CLUSTER/bin
+FC= pgf90
+OPT = -O3 
+#OPT = -C -g 
+FFLAGS =  ${OPT} -I. 
+LIBS = 
+CPPFLAGS = -DLINUX
+
+.SUFFIXES: .F
+.F.o:
+       $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
+.f.o:
+       $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
+
+objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.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)
+       cc -o compinfo compinfo.c
+       ./compinfo | true
+       ${FC} -c cinfo.f
+       $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ${BIN}/unres_clust-pff90.exe
+
+clean:
+       /bin/rm *.o
+
+move:
+       mv *.o ${OBJ}