# THIS IS AN EXAMPLE FOR INTEL-LINUX PLATFORMS RUNNING PGF COMPILERS. CUSTOMIZE! .SUFFIXES: .inc .f .F CPP = /usr/bin/cpp -C -P $*.F > $*.f FC = /usr/local/pgi/linux86/bin/pgf90 -Mfree DEBUG = -tp p6 -O1 -Mnoframe -byteswapio -Mi4 -Mcache_align -Mdalign -pc 64 OFLAG = -tp p6 -O2 -Munroll -Mnoframe -byteswapio -Mi4 -Mcache_align -Mdalign -pc 64 DOUBLE = -r8 SINGLE = TIMING = #TIMING = -pg # binding BIND = LIB = -L../../vasp.4.4.lib/sources -ldmy4 -L/usr/local/lib -llapack64 -lblas #----------------------------------------------------------------------- # these are the rules and compile lines used on the Linux system #----------------------------------------------------------------------- all: prec.o constant.o error.o symlib.o lattlib.o random.o tet.o smear.o prec.o: prec.F constant.o: constant.F constant.inc prec.o error.o: error.F prec.o symlib.o: symlib.F prec.o lattlib.o: lattlib.F prec.o random.o: random.F prec.o tet.o: tet.F prec.o $(CPP) $(FC) $(SINGLE) $(OFLAG) -Minline=name:SLINZ,name:FSWGTS -c $*.f rm -f $*.f smear.o: smear.F prec.o constant.o $(CPP) $(FC) $(SINGLE) $(OFLAG) -Minline=name:DELSTP -c $*.f rm -f $*.f .F.o: $(CPP) $(FC) $(SINGLE) $(OFLAG) -c $*.f rm -f $*.f .F.f: $(CPP) .f.o: $(FC) $(SINGLE) $(OFLAG) -c $*.f clean:: rm -f *.o *.mod core