fixed binary names for cmake and make
[unres.git] / source / cluster / unres / src / Makefile_ifort
1 BIN=/home/adam/UNRES/bin
2 FC= ifort
3 OPT = -O3 -ip -w 
4 FFLAGS =  ${OPT} -I. 
5 CPPFLAGS = -DLINUX
6
7 # Next for debugging
8 #FC = f77
9 #OPT = -g -fbounds-check
10 #CPPFLAGS = -DLINUX -DG77
11
12 LIBS = 
13
14 .SUFFIXES: .F
15 .F.o:
16         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
17 .f.o:
18         $(FC) -c $(CPPFLAGS) $(FFLAGS) $<
19
20 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize.o \
21         matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
22         geomout.o readpdb.o fitsq.o hc.o  \
23         track.o wrtclust.o srtclust.o noyes.o contact.o
24
25 unres_clust: $(objects)
26         cc -o compinfo compinfo.c
27         ./compinfo | true
28         ${FC} -c cinfo.f
29         $(FC) ${OPT} ${objects} cinfo.o ${LIBS} -o ../../../../bin/cluster/cluster_unres_ifort.exe
30
31 clean:
32         /bin/rm *.o
33
34 move:
35         mv *.o ${OBJ}