makealldeps
generates a list of BEL Application projects in order of dependency. I.e. if project A depends on project B, B is listed before A. This is done for all projects. So in the beginning of the resulting list you find those projects which depend on nothing. The script is controlled by command line arguments.Procedure:
makealldeps
is called with a list of makefiles and generates with make deps
the projects it depends on. Then these projects are again used by recursively calls of makealldeps
to generate a complete list. The depth of recursion is used to determine global dependency.