I'm trying to create a (static) library from a collection of modules, say 'module a' and 'module b' (source in two separate files a.f90 and b.f90). I could compile and create an archive using 'ar cr archive.a a.o b.o'.
Now the problem/issue: I'd like to "dump" all the module interface information, which is now in a.mod and b.mod in a *single* .mod file (say archive.mod), so that I could then 'use archive' inside a program.
The reason for this is that I like to keep several modules to ease the development of the library, but for users it is much easier to have only a sort of 'interface' module wrapper without having to know about the inner workings/structure of the library. Is this possible? Am I making this overcomplicated?
Thanks a lot,
Message Edited by firstname.lastname@example.org on 06-19-200610:52 AM