Hello Fortran 90 programmers,
I have a module with the following structure:
module test
contains
#include "source1.f90"
#include "source2.f90"
#include "source3.f90"
end module test
The entire module must be recompiled whenever one of the included source files is modified. The real module has a lot more include statements so compilation is slowing development.
Is there some way to compile onlythe modified source file but still use a module? In other words, is there a way to treat a Fortran 90 module like a library?
Thanks,
Henry
链接已复制
1 回复