9/4 I have a legacy make system that needs to work on several platforms
w/ different compilers. To build for platform X, you type
"make -f X_make" at the top level. I'm trying to get to a modicum
of sanity about this by actually using dependencies correctly.
The problem: I need to have dependencies in subdirectories, and
those dependencies also need to be built using the X_make makefile,
not Makefile or Y_make. Is there a way to specify this without
actually setting up a target for each subdirectory that does
"cd subdir; make -f X_make; cd .." ? Thanks in advance.
\_ make depend? or "makedepend"? |