5 FFLAGS = -c ${OPT} -I. -Iinclude_unres
17 ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
57 readpdb.o fitsq.o contact.o \
58 elecont.o contfunc.o cont_frag.o conf_compar.o match_contact.o \
59 angnorm.o odlodc.o promienie.o qwolynes.o read_ref_str.o \
60 rmscalc.o secondary.o proc_cont.o define_pairs.o mysort.o
63 @echo "Specify force field: GAB, 4P or E0LL2Y"
67 GAB: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI -DISNAN -DAMD64 \
68 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DWHAM
69 GAB: ${objects} ${objects_compar} xdrf/libxdrf.a
70 cc -o compinfo compinfo.c
72 ${FC} -c ${FFLAGS} cinfo.f
73 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
74 ${LIBS} -static-intel -o ${BIN}/wham_MPI-GAB.exe
76 4P: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPGI -DISNAN -DAMD64 \
77 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC -DWHAM
78 4P: ${objects} ${objects_compar} xdrf/libxdrf.a
79 cc -o compinfo compinfo.c
81 ${FC} -c ${FFLAGS} cinfo.f
82 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
83 ${LIBS} -static-intel -o ${BIN}/wham_MPI-4P.exe
85 E0LL2Y: CPPFLAGS = -DMPI -DLINUX -DUNRES -DSPLITELE -DPROCOR -DPGI -DISNAN -DAMD64 -DWHAM
86 E0LL2Y: ${objects} ${objects_compar} xdrf/libxdrf.a
87 cc -o compinfo compinfo.c
89 ${FC} -c ${FFLAGS} cinfo.f
90 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
91 ${LIBS} -static-intel -o ${BIN}/wham_MPI-E0LL2Y.exe
93 NEWCORR: CPPFLAGS = -DMPI -DCRAY -DUNRES -DSPLITELE -DPROCOR -DNEWCORR -DPGI -DISNAN -DAMD64 -DWHAM
94 NEWCORR: ${objects} ${objects_compar} xdrf/libxdrf.a
95 cc -o compinfo compinfo.c
97 ${FC} -c ${FFLAGS} cinfo.f
98 $(FC) ${OPT} ${objects} ${objects_compar} cinfo.o \
99 ${LIBS} -static-intel -o ${BIN}/wham_MPI-NEWCORR.exe
106 /bin/rm -f *.o && /bin/rm -f compinfo && cd xdrf && make clean