I put most of my code modules in a directory called /code/lib.
Now the product I'm currently working on is in the directory /code/product-a. When I do a make, I would like all the generated .o files to end up in /code/product-a/obj and the list files in /code/product-a/lst instead of ending up in /code/lib.
How can I do this - I have a feeling it should be quite straight-forward? My makefile is much the same as those generated by the mfile tool.
(I've attached my makefile just in case )