# This make file is part of the xdrf package. # # (C) 1995 Frans van Hoesel, hoesel@chem.rug.nl # # 2006 modified by Cezary Czaplewski # Set C compiler and flags for ARCH BINDIR=../../bin CC = cc CFLAGS = -O #FC=ifort FC=f77 #OPT = -O3 -ip -w -pc64 -tpp6 OPT= -O3 -w FFLAGS = -c ${OPT} -I../ #LIBS = -static-libcxa ../xdrf/libxdrf.a LIBS = xdrf_local/libxdrf.a CPPFLAGS = -DLINUX -DUNRES -DMP -DMPI -DSPLITELE -DPROCOR .SUFFIXES: .F .F.o: ${FC} ${FFLAGS} ${CPPFLAGS} $*.F all:xdrf2pdb xdrf2x xdrf2pdb: xdrf2pdb.o geomout.o misc.o rescode.o nazwy.o ${FC} -o ${BINDIR}/xdrf2pdb xdrf2pdb.o geomout.o rescode.o misc.o nazwy.o ${LIBS} xdrf2x: xdrf2x.o ${FC} -o ${BINDIR}/xdrf2x xdrf2x.o ${LIBS} clean: rm -f *.o