Merge branch 'devel' of mmka.chem.univ.gda.pl:unres into devel
[unres.git] / source / unres / src_MD-M / Makefile-rstconv
1 #
2 FC= ifort
3 FCL = ${INSTALL_DIR}/bin/mpif77
4 CC = cc
5
6 CFLAGS = -c
7 FFLAGS = -c ${OPT} -I$(INSTALL_DIR)/include
8 FFLAGS1 = -c ${OPT1} -I$(INSTALL_DIR)/include
9 FFLAGS2 = -c ${OPT2} -I$(INSTALL_DIR)/include
10 FFLAGSE = -c ${OPTE} -I$(INSTALL_DIR)/include
11
12 BIN = ../bin/restbin2asc
13 LIBS = xdrf/libxdrf.a
14
15 CPPFLAGS = -DLINUX -DUNRES -DMP -DMPI \
16            -DPGI -DSPLITELE -DISNAN -DAMD64 \
17            -DPROCOR
18 #           -DCRYST_BOND -DCRYST_THETA -DCRYST_SC
19
20 ARCH = LINUX
21 PP = /lib/cpp -P
22
23
24 all: restbin2asc
25
26 obj: ${object}
27
28 .SUFFIXES: .F
29 .F.o:
30         ${FC} ${FFLAGS}  ${CPPFLAGS} $*.F
31
32
33 object = restbin2asc.o
34
35 restbin2asc: ${object} 
36         ${FC} ${OPT} ${object} ${LIBS}  -o ${BIN} 
37
38
39 clean:
40         /bin/rm *.o