# 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