6 FFLAGS1 = -c -w -g -d2 -CA -CB
8 FFLAGSE = -c -w -O3 -ipo -ipo_obj -opt_report
16 @echo "Specify force field: GAB, 4P or E0LL2Y"
20 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
22 ${FC} ${FFLAGS} ${CPPFLAGS} $*.f
24 object = unres_min.o arcos.o cartprint.o chainbuild.o initialize_p.o \
25 matmult.o readrtns_min.o parmread.o \
26 pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
27 cartder.o checkder_p.o econstr_local.o energy_p_new_barrier.o \
28 gradient_p.o minimize_p.o sumsld.o \
29 cored.o rmdd.o geomout_min.o readpdb.o \
31 MP.o printmat.o convert.o int_to_cart.o \
32 djacob.o gen_rand_conf.o sc_move.o refsys.o
36 GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
37 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
38 GAB: BIN = ../../../bin/unres/MINIM/unres_ifort_MIN_single_GAB.exe
40 cc -o compinfo compinfo.c
42 ${FC} ${FFLAGS} cinfo.f
43 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
45 4P: CPPFLAGS = -DLINUX -DPGI -DUNRES -DISNAN \
46 -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
47 4P: BIN = ../../../bin/unres/MINIM/unres_ifort_MIN_single_4P.exe
49 cc -o compinfo compinfo.c
51 ${FC} ${FFLAGS} cinfo.f
52 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
54 E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
56 E0LL2Y: BIN = ../../../bin/unres/MINIM/unres_ifort_MIN_single_E0LL2Y.exe
58 cc -o compinfo compinfo.c
60 ${FC} ${FFLAGS} cinfo.f
61 ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
67 chainbuild.o: chainbuild.F
68 ${FC} ${FFLAGS} ${CPPFLAGS} chainbuild.F
71 ${FC} ${FFLAGS} ${CPPFLAGS} matmult.f
73 parmread.o : parmread.F
74 ${FC} ${FFLAGS} ${CPPFLAGS} parmread.F
77 ${FC} ${FFLAGS} ${CPPFLAGS} intcor.f
80 ${FC} ${FFLAGS} ${CPPFLAGS} cartder.F
83 ${FC} ${FFLAGS2} ${CPPFLAGS} readpdb.F
86 ${FC} ${FFLAGS} ${CPPFLAGS} sumsld.f
89 ${FC} ${FFLAGS1} ${CPPFLAGS} cored.f
92 ${FC} ${FFLAGS} ${CPPFLAGS} rmdd.f
94 energy_p_new_barrier.o : energy_p_new_barrier.F
95 ${FC} ${FFLAGSE} ${CPPFLAGS} energy_p_new_barrier.F
97 gradient_p.o : gradient_p.F
98 ${FC} ${FFLAGSE} ${CPPFLAGS} gradient_p.F