[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make and Fortran modules
From: |
Noel David Torres Taño |
Subject: |
Make and Fortran modules |
Date: |
Tue, 30 Mar 2010 15:09:20 +0200 |
User-agent: |
KMail/1.9.9 |
Hello all:
Fortran modules are made by compiling source code, at the same time object
files are. Thus,
gfortran -o module.o -c module.F95
produces TWO files, module.o AND module.mod .
But, the problem is that in a large project using modules, some objects depend
on other modules:
%.o : %.F95
%.mod : %.F95
codepiece2.o : codepiece1.mod
exec1 : codepiece1.o codepiece2.o
exec2 : codepiece3.o codepiece2.o
How do you address these issues?
Thanks
signature.asc
Description: This is a digitally signed message part.
- Make and Fortran modules,
Noel David Torres Taño <=