ARCH = LINUX
PP = /lib/cpp -P
-
-all: unres
+all: no_option
+ @echo "Specify force field: GAB, 4P or E0LL2Y"
.SUFFIXES: .F.f
.F.o:
.f.o:
${FC} ${FFLAGS} ${CPPFLAGS} $*.f
-
object = unres_min.o arcos.o cartprint.o chainbuild.o initialize_p.o \
matmult.o readrtns_min.o parmread.o \
pinorm.o randgens.o rescode.o intcor.o timing.o misc.o intlocal.o \
MP.o printmat.o convert.o int_to_cart.o \
djacob.o gen_rand_conf.o sc_move.o refsys.o
+no_option:
+
GAB: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
-DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
GAB: BIN = ../../../bin/unres/MINIM/unres_ifort_MIN_single_GAB.exe
${FC} ${FFLAGS} cinfo.f
${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
+4P: CPPFLAGS = -DLINUX -DPGI -DUNRES -DISNAN \
+ -DSPLITELE -DLANG0 -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
+4P: BIN = ../../../bin/unres/MINIM/unres_ifort_MIN_single_4P.exe
+4P: ${object}
+ cc -o compinfo compinfo.c
+ ./compinfo | true
+ ${FC} ${FFLAGS} cinfo.f
+ ${FC} ${OPT} ${object} cinfo.o ${LIBS} -o ${BIN}
+
E0LL2Y: CPPFLAGS = -DPROCOR -DLINUX -DPGI -DUNRES -DISNAN \
-DSPLITELE -DLANG0
E0LL2Y: BIN = ../../../bin/unres/MINIM/unres_ifort_MIN_single_E0LL2Y.exe