- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Use real Fortran INCLUDE statements, not cpp #include. It should do what you want then.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page