aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
diff options
context:
space:
mode:
Diffstat (limited to 'src/make.code.deps')
-rw-r--r--src/make.code.deps12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/make.code.deps b/src/make.code.deps
new file mode 100644
index 0000000..ecf1dd0
--- /dev/null
+++ b/src/make.code.deps
@@ -0,0 +1,12 @@
+# Main make.code.deps file for thorn HDF5
+
+export ZLIB_DIR ZLIB_INC_DIRS ZLIB_LIB_DIRS ZLIB_LIBS
+export MPI_DIR MPI_INC_DIRS MPI_LIB_DIRS MPI_LIBS
+
+export HDF5_ENABLE_CXX HDF5_ENABLE_FORTRAN
+export LIBSZ_DIR LIBZ_DIR
+export HDF5_INSTALL_DIR
+
+$(CCTK_TARGET) $(OBJS) $(SRCS:%=%.d): $(SCRATCH_BUILD)/done/$(THORN)
+$(SCRATCH_BUILD)/done/$(THORN): $(SRCDIR)/build.sh
+ $(SRCDIR)/build.sh