[comp.lang.c] "directory searching" make utility needed

john@tifsie.UUCP (John Maline) (01/23/88)

I am searching for a 'make' utility that runs under MS-DOS and provides
the capability to search a user-definable list of directories for source
code.

What I want to do is have directories with official released code
and private 'test' directories containing only files that need to be
modified for a particular program change/bug fix.  You'd tell 'make'
to search first in your test directories, then the 'official' directories.
This would cause your modified sources to be used and anything else comes
from the 'real' code.

For example:
SEARCHDIRS=\project\testdir;\project\realdir

x.obj:	x.c y.h
...

If you've got a x.c in 'testdir', that's the one that's picked (ie $*
expands to '\project\testdir\x' and so on).

I've seen a similar feature that uses the 'VPATH' variable to find
dependants in one of the directories specified in VPATH, but it doesn't
include the directory in $* and company.

If anyone knows of such a utility, I'd like to hear about it.  Commercial
or public domain (it's for my company).  Please reply by EMAIL.  I will
forward or post the information if there is interest.

Thank you for your support,

John Maline                    UUCP:    ut-sally!im4u!ti-csl!tifsie!john 
Texas Instruments                          sun!texsun!ti-csl!tifsie!john
PO Box 655012  M/S 3618                   uiucdcs!convex!smu!tifsie!john
Dallas, TX 75265               Voice:   (214)995-3575      BIX: jwmaline
-- 
John Maline                    UUCP:    ut-sally!im4u!ti-csl!tifsie!john 
Texas Instruments                          sun!texsun!ti-csl!tifsie!john
PO Box 655012  M/S 3618                   uiucdcs!convex!smu!tifsie!john
Dallas, TX 75265               Voice:   (214)995-3575      BIX: jwmaline