343
344
345 /*
346 * If target is recursive, print the following to standard out:
347 * .RECURSIVE subdir targ Makefile
348 */
349 static void
350 print_rec_info(Name target)
351 {
352 Recursive_make rp;
353 wchar_t *colon;
354
355 report_recursive_init();
356
357 rp = find_recursive_target(target);
358
359 if (rp) {
360 /*
361 * if found, print starting with the space after the ':'
362 */
363 colon = (wchar_t *) wschr(rp->oldline, (int) colon_char);
364 (void) printf("%s", colon + 1);
365 }
366 }
367
|
343
344
345 /*
346 * If target is recursive, print the following to standard out:
347 * .RECURSIVE subdir targ Makefile
348 */
349 static void
350 print_rec_info(Name target)
351 {
352 Recursive_make rp;
353 wchar_t *colon;
354
355 report_recursive_init();
356
357 rp = find_recursive_target(target);
358
359 if (rp) {
360 /*
361 * if found, print starting with the space after the ':'
362 */
363 colon = (wchar_t *) wcschr(rp->oldline, (int) colon_char);
364 (void) printf("%s", colon + 1);
365 }
366 }
367
|