Clarify the rule used to determine the object

directory location.
This commit is contained in:
steve 1996-10-06 16:19:08 +00:00
parent 02de3b2b79
commit a761e29d9a

View File

@ -498,11 +498,15 @@ main(argc, argv)
}
/*
* If the MAKEOBJDIR (or by default, the _PATH_OBJDIR) directory
* exists, change into it and build there. (If a .${MACHINE} suffix
* exists, use that directory instead).
* Otherwise check MAKEOBJDIRPREFIX`cwd` (or by default,
* _PATH_OBJDIRPREFIX`cwd`) and build there if it exists.
* The object directory location is determined using the
* following order of preference:
*
* 1. MAKEOBJDIRPREFIX`cwd`
* 2. MAKEOBJDIR
* 3. _PATH_OBJDIR.${MACHINE}
* 4. _PATH_OBJDIR
* 5. _PATH_OBJDIRPREFIX${MACHINE}
*
* If all fails, use the current directory to build.
*
* Once things are initted,