a44eb2a02aaae54f8469720e5acdc5ed03066c07
[unres.git] / source / cluster / unres / src / Makefile_pgi
1 BIN=/home/adam/UNRES/CLUSTER/bin
2 FC= pgf90
3 OPT = -O3 
4 #OPT = -C -g 
5 FFLAGS =  ${OPT} -I. 
6 LIBS = 
7 CPPFLAGS = -DLINUX
8
9 .SUFFIXES: .F
10 .F.o:
11         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
12 .f.o:
13         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
14
15 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o \
16         matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
17         geomout.o readpdb.o fitsq.o hc.o  \
18         track.o wrtclust.o srtclust.o noyes.o contact.o
19
20 unres_clust: $(objects)
21         cc -o compinfo compinfo.c
22         ./compinfo | true
23         ${FC} -c cinfo.f
24         $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ${BIN}/unres_clust-pff90.exe
25
26 clean:
27         /bin/rm *.o
28
29 move:
30         mv *.o ${OBJ}