2 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
3 FFLAGS1 = -c -w -g -d2 -CA -CB -I$(INSTALL_DIR)/include
4 FFLAGS2 = -c -w -g -O0 -I$(INSTALL_DIR)/include
5 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report -I$(INSTALL_DIR)/include
9 CFLAGS = -DLINUX -DPGI -c
13 # -Mvect <---slows down
14 # -Minline=name:matmat2 <---false convergence
26 @echo "Specify force field: GAB or E0LL2Y"
30 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
32 object = unres.o arcos.o cartprint.o chainbuild.o convert.o initialize_p.o \
33 matmult.o readrtns.o parmread.o gen_rand_conf.o printmat.o map.o \
34 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
35 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
36 gradient_p.o minimize_p.o sumsld.o \
37 cored.o rmdd.o geomout.o readpdb.o regularize.o fitsq.o \
38 bond_move.o refsys.o check_bond.o contact.o \
40 rmsd.o elecont.o dihed_cons.o \
41 sc_move.o local_move.o \
44 gnmr1.o djacob.o openunits.o
46 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
47 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
48 GAB: BIN = ../../../bin/unres/MD/unres_ifort_single_decoy_GAB.exe
49 GAB: ${object} xdrf/libxdrf.a
50 cc -o compinfo compinfo.c
52 ${FC} ${FFLAGS} cinfo.f
53 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
55 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
57 E0LL2Y: BIN = ../../../bin/unres/MD/unres_ifort_single_decoy_E0LL2Y.exe
58 E0LL2Y: ${object} xdrf/libxdrf.a
59 cc -o compinfo compinfo.c
61 ${FC} ${FFLAGS} cinfo.f
62 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
68 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean
70 chainbuild.o: chainbuild.F
71 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
74 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
76 parmread.o : parmread.F
77 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
80 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
83 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
86 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
89 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
92 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
95 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
97 energy_p_new_barrier.o : energy_p_new_barrier.F
98 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
100 gradient_p.o : gradient_p.F
101 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F
103 proc_proc.o: proc_proc.c
104 ${CC} ${CFLAGS} proc_proc.c