version 1.68, 2020/08/22 11:35:00 |
version 1.69, 2020/08/22 13:28:20 |
Line 273 Targ_NewGN(const char *name) |
|
Line 273 Targ_NewGN(const char *name) |
|
#ifdef CLEANUP |
#ifdef CLEANUP |
if (allGNs == NULL) |
if (allGNs == NULL) |
allGNs = Lst_Init(); |
allGNs = Lst_Init(); |
Lst_AtEnd(allGNs, gn); |
Lst_AppendS(allGNs, gn); |
#endif |
#endif |
|
|
return gn; |
return gn; |
Line 401 Targ_FindList(Lst names, int flags) |
|
Line 401 Targ_FindList(Lst names, int flags) |
|
gn = Targ_FindNode(name, flags); |
gn = Targ_FindNode(name, flags); |
if (gn != NULL) { |
if (gn != NULL) { |
/* |
/* |
* Note: Lst_AtEnd must come before the Lst_Concat so the nodes |
* Note: Lst_Append must come before the Lst_Concat so the nodes |
* are added to the list in the order in which they were |
* are added to the list in the order in which they were |
* encountered in the makefile. |
* encountered in the makefile. |
*/ |
*/ |