aboutsummaryrefslogtreecommitdiff
path: root/src/make.code.deps
blob: e8ea1b9d00bec541aa798bc84cbcfcb79a90dbce (plain)
1
2
3
4
5
6
7
8
9
10
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