FC=h5pfc

# Optional precompiler options used in the code:
# -DDEBUGHDF5: print some debug info in HDF5 I/O routines
# -DLONGING: uses integer(kind=8) for ID
# -DOPTI: uses new algorithm to distribute halos and particles amongst processes (under development and buggy)

# GNU release flags
FCFLAGS= -O3 -g -J$(MODDIR) -cpp #-DLONGINT #-DOPTI #-fconvert=big-endian

# GNU debug flags
DEBUGFLAGS= -O0 -g -J$(MODDIR) -Wall -Wextra -finit-real=zero -finit-integer=0 -std=f2008 -fcheck=all -fbacktrace -fmax-errors=10 -cpp -DDEBUG #-DDEBUGHDF5 #-DLONGINT #-DOPTI -fconvert=big-endian 

LDFLAGS=-g