aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
diff options
context:
space:
mode:
authorschnetter <schnetter@b716e942-a2de-43ad-8f52-f3dfe468e4e7>2002-07-15 17:15:29 +0000
committerschnetter <schnetter@b716e942-a2de-43ad-8f52-f3dfe468e4e7>2002-07-15 17:15:29 +0000
commit42a98ca518377949e8cfc902343a4b2d97a25564 (patch)
tree362e565c054f600cb11a4497593fd2e03d6fd328 /src/make.code.deps
parentae7e90702b85ebba7ab33b40c161815cec69ed5a (diff)
Added thorn TGRtensor. This is a utility thorn from the TGR code. It
contains generic tensor operations, some useful constants, code for numeric derivatives, interfaces to Lapack and BLAS, and interfaces for Cactus routines. git-svn-id: http://svn.einsteintoolkit.org/cactus/EinsteinUtils/TGRtensor/trunk@2 b716e942-a2de-43ad-8f52-f3dfe468e4e7
Diffstat (limited to 'src/make.code.deps')
-rw-r--r--src/make.code.deps11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/make.code.deps b/src/make.code.deps
new file mode 100644
index 0000000..e8ea1b9
--- /dev/null
+++ b/src/make.code.deps
@@ -0,0 +1,11 @@
+# Main make.code.deps file for thorn TGRtensor -*-Makefile-*-
+# $Header$
+
+USESTHORNS =
+
+# Automatically create dependencies for Fortran modules and Fortran includes
+define F90_DEPENDENCIES
+$(F_DEPEND) $(INC_DIRS:%=-I%) $(EXTRA_DEFINES:%=-D%) -DFCODE $< $(F_DEPEND_OUT)
+$(DEPENDENCY_FIXER)
+dir=`pwd`; $(CPP) $(INC_DIRS:%=-I%) $(EXTRA_DEFINES:%=-D%) -DFCODE $< | $(PERL) $(SRCDIR)/depend.pl - $< $(basename $(notdir $<)).F90.o $(SRCDIR)/ ./ .F90 .F90.o $(USESTHORNS:%=$$dir/../%/) >> $@ || { rm $@; exit 1; }
+endef