I don't know make very well. I mainly use a non standard version of boost_build in which the issue in the original post could be handled easily.
Quote:
Originally Posted by CoderMan
I think you want something like this:
|
The problem with that suggestion is it would require individual rules for each of ~200 modules for which X.o is built from a/X.c
You want some generic rule to say every X.o is built the same way from the corresponding a/X.c
I don't recall how (or even if) you can do that in a makefile (given the complicating factor of all the c files in a subdirectory.