19e93e816c700f3d4ac74ff4d2b4d3900e4a72f6
[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 FFLAGS =  ${OPT} -I. 
6 CPPFLAGS = -DLINUX
7
8 # Next for debugging
9 #FC = f77
10 #OPT = -g -fbounds-check
11 #CPPFLAGS = -DLINUX -DG77
12
13 LIBS = 
14
15 .SUFFIXES: .F
16 .F.o:
17         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
18 .f.o:
19         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
20
21 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o \
22         matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
23         geomout.o readpdb.o fitsq.o hc.o  \
24         track.o wrtclust.o srtclust.o noyes.o contact.o
25
26 unres_clust: $(objects)
27         cc -o compinfo compinfo.c
28         ./compinfo | true
29         ${FC} -c cinfo.f
30         $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/unres_clust-ifort.exe
31
32 clean:
33         /bin/rm *.o
34
35 move:
36         mv *.o ${OBJ}