Cluster/unres modified to read MD coordinates in CX format, also from multiple files.
[unres.git] / source / cluster / unres / src / Makefile_ifort
1 BIN=/home/adam/UNRES/bin
2 INSTALL_DIR = /usr/local/mpich-1.2.7p1-intel
3 #FC= ifort
4 #OPT = -O3 -ip -w 
5 #OPT = -g -CB
6 #FFLAGS =  ${OPT} -I. 
7 #CPPFLAGS = -DLINUX -DNEWUNRES
8
9 # Next for debugging
10 FC = gfortran
11 #OPT = -g -fbounds-check
12 OPT = -O3
13 CPPFLAGS = -DLINUX -DG77 -DNEWUNRES
14
15 LIBS = xdrf/libxdrf.a
16
17 .SUFFIXES: .F
18 .F.o:
19         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
20 .f.o:
21         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
22
23 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o cxread.o \
24         matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
25         geomout.o readpdb.o fitsq.o hc.o  \
26         track.o wrtclust.o srtclust.o noyes.o contact.o
27
28 unres_clust: $(objects) xdrf/libxdrf.a
29         cc -o compinfo compinfo.c
30         ./compinfo | true
31         ${FC} -c cinfo.f
32         $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/unres_clust-ifort-test.exe
33
34 xdrf/libxdrf.a:
35         cd xdrf && make
36
37 clean:
38         /bin/rm *.o
39
40 move:
41         mv *.o ${OBJ}