- Timestamp:
- Nov 15, 2012 12:30:57 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/file.c
r2634 r2665 361 361 } 362 362 } 363 364 #ifdef CONFIG_WITH_EXPLICIT_MULTITARGET 365 /* Merge multi target attributes and considerations. */ 366 if (from_file->multi_head) 367 { 368 if (to_file->multi_head) 369 fatal (NILF, _("can't rename/merge multi target '%s' with multi target '%s'"), 370 from_file->name, to_hname); 371 372 to_file->multi_maybe = from_file->multi_maybe; 373 to_file->multi_next = from_file->multi_next; 374 to_file->multi_head = f = from_file->multi_head; 375 if (f == from_file) 376 for (; f != 0; f = f->multi_next) 377 f->multi_head = to_file; 378 else 379 { 380 while (f->multi_next != from_file) 381 f = f->multi_next; 382 f->multi_next = to_file; 383 } 384 } 385 #endif 363 386 364 387 /* Merge the dependencies of the two files. */ … … 1148 1171 multi_maybe = f2->multi_maybe; 1149 1172 } 1150 putchar (':'); 1173 if (f->deps) 1174 printf (": \\\n\t"); 1175 else 1176 putchar (':'); 1151 1177 } 1152 1178 else
Note:
See TracChangeset
for help on using the changeset viewer.