I have a "master" directory on top of a source tree with a Makefile
that works just like I want it to at the moment.

Due to a situation out of my control, users cd to a working directory
two subdirectories below.  There they currently use a hodgepodge of
awk, bash, tcsh, and Perl scripts to selectively make targets that I
have in my Makefile two directories above.  (Note that I'm trying to
create a working solution to eliminate the script kludge and replace
it by a much easier to maintain make system).

I have successfully (so far) managed to "make" things work by
duplicating targets in the user Makefile.  For eaxmple, a short
version looks like this

===> user Makefile

MASTERDIR := ../..

tgt:

<===


Tom Browder
Niceville, Florida
USA


Reply via email to