Adding a new module to the astrobear framework

I wanted to document the process of inserting a new module (i.e. one that is not yet built into the astrobear architecture) into the makefile, and thought this would be a good place to do so.

In the astrobear main directory, open the makefile (lower case m). This lists the dependencies of everything in a hierarchy of files, from those that are more "global" to those that are not.

Look for the obj_files = list. It is there that you should insert your module object file name. It should be listed after the dependencies it uses, but before the problem module (or any other module for that matter) that calls it. Be sure to use the same syntax of other elements in the list, namely end it with ".o/". Once this is done, you are ready to make.

Comments

No comments.