added source code
[unres.git] / source / unres / src_MD-M / xdrf2pdb / Makefile_linux
1 # This make file is part of the xdrf package.
2 #
3 # (C) 1995 Frans van Hoesel, hoesel@chem.rug.nl
4 #
5 # 2006 modified by Cezary Czaplewski
6
7 # Set C compiler and flags for ARCH
8 BINDIR=../../bin
9
10 CC      = cc
11 CFLAGS  = -O 
12
13 #FC=ifort
14 FC=f77
15 #OPT =  -O3 -ip -w -pc64 -tpp6
16 OPT= -O3 -w
17 FFLAGS = -c ${OPT} -I../ 
18
19 #LIBS = -static-libcxa ../xdrf/libxdrf.a
20 LIBS =  ../xdrf/libxdrf.a
21
22 CPPFLAGS = -DLINUX -DUNRES -DMP -DMPI -DSPLITELE -DPROCOR 
23
24 .SUFFIXES: .F
25 .F.o:
26         ${FC} ${FFLAGS} ${CPPFLAGS} $*.F
27
28 all:xdrf2pdb xdrf2x
29
30 xdrf2pdb: xdrf2pdb.o geomout.o misc.o rescode.o nazwy.o 
31         ${FC} -o ${BINDIR}/xdrf2pdb xdrf2pdb.o geomout.o rescode.o misc.o nazwy.o ${LIBS}
32
33 xdrf2x: xdrf2x.o 
34         ${FC} -o ${BINDIR}/xdrf2x xdrf2x.o ${LIBS}
35
36 clean:
37         rm -f *.o
38