diff options
Diffstat (limited to 'src/make.code.defn')
-rw-r--r-- | src/make.code.defn | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/make.code.defn b/src/make.code.defn index fd13a65..f5c2158 100644 --- a/src/make.code.defn +++ b/src/make.code.defn @@ -3,8 +3,11 @@ # Source files in this directory SRCS = IO.cc IEEEIO.cc -# Subdirectories containing source files -SUBDIRS = +# enable HDF5 if available +ifneq ($(HDF5_LIBS),) +SRCS += H5IO.cc +endif + # Work out some thorn specific compilation flags # These are stripped down lines from the original IEEEIO makefile |