Creating Makefile for library in Momentics


We are in the beggining of porting a project to QNX and trying to implement
it in Momentics. Our project tree has lots of branches, which are libraries
for main program. If we want to create a make file for subdirectory to
compile it as a library and then link to main program, how can we address
the main Makefile and/or to do that.

I appreciate any reply.