CC       = cc
CPP      =
FC       = ftn -f free
LD       = ftn
AR       = ar -r
CPPFLAGS =
DFLAGS   = -D__LIBINT -D__parallel -D__SCALAPACK -D__NO_STATM_ACCESS
FCFLAGS  = $(DFLAGS) -e m -F -ra -O2 -Oipa1
FCFLAGS1 = $(DFLAGS) -e m -F -ra -O1
LDFLAGS  = $(FCFLAGS)
LIBS     = -L/cray/css/u0/roberto/CP2K/libs/libint-cce/lib -lderiv -lint 


MODDEPS = no

# must be compiled with -O1
pw_grids.o: pw_grids.F
	$(FC) -c $(FCFLAGS1) $<
