# Main make.code.defn file for thorn IOHFD5 # $Header$ # Source files in this directory SRCS = Startup.c Output.c Write.c DumpGH.c RecoverGH.c # Extend CFLAGS if HDF5 library was built with LFS support LFS_support := $(shell grep -s _LARGEFILE_SOURCE $(strip $(HDF5_LIB_DIRS))/libhdf5.settings) ifneq ($(strip $(LFS_support)),) CFLAGS += -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 endif