The same modifications like in @matrix, but there are problem
[unres.git] / source / cluster / wham / src / Makefile
1 INSTALL_DIR = /users/software/mpich-1.2.7p1_intel-10.1_em64_ssh
2 BIN=../../../../bin
3 FC = ifort
4 OPT = -O3 -ip -w
5 OPT = -CB -g 
6 FFLAGS =  ${OPT} -c -I. -I./include_unres -I../src_MD_T-sccor -I/users/adam/MEY_MD/src_Tc-czarek -I$(INSTALL_DIR)/include
7 CPPFLAGS = -DLINUX -DPGI -DSPLITELE -DPROCOR -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DMP -DMPI
8 LIBS = -L$(INSTALL_DIR)/lib -lmpich ./xdrf/libxdrf.a -g -d2 -CA -CB
9
10 .c.o:
11         cc -c -DLINUX -DPGI $*.c
12
13 .f.o:
14         ${FC} ${FFLAGS} $*.f
15
16 .F.o:
17         ${FC} ${FFLAGS} ${CPPFLAGS} ${FFLAGS} $*.F
18
19 objects = main_clust.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
20         matmult.o readrtns.o pinorm.o rescode.o intcor.o timing.o misc.o \
21         geomout.o readpdb.o read_coords.o parmread.o probabl.o fitsq.o hc.o  \
22         track.o wrtclust.o srtclust.o noyes.o contact.o printmat.o \
23         int_from_cart1.o energy_p_new.o icant.o proc_proc.o work_partition.o \
24         setup_var.o read_ref_str.o gnmr1.o
25
26 unres_clust: $(objects)
27         $(FC) ${OPT} ${objects} ${LIBS} -o ${BIN}/unres_clustMD_MPI-oldparm
28
29 clean:
30         /bin/rm *.o
31
32 move:
33         mv *.o ${OBJ}