Changeset 46 for trunk/src/kmk/job.c
- Timestamp:
- Apr 4, 2003, 2:03:50 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/job.c
r45 r46 1067 1067 } 1068 1068 1069 #ifdef USE_ARCHIVES 1069 1070 if (gn->type & OP_ARCHV) { 1070 1071 Arch_Touch(gn); … … 1072 1073 Arch_TouchLib(gn); 1073 1074 } else { 1075 #else 1076 { 1077 #endif 1078 1074 1079 char *file = gn->path ? gn->path : gn->name; 1075 1080 … … 1120 1125 /* Function to abort with message */ 1121 1126 { 1122 if (OP_NOP(gn->type) && Lst_IsEmpty(gn->commands) && 1123 (gn->type & OP_LIB) == 0) { 1127 if (OP_NOP(gn->type) && Lst_IsEmpty(gn->commands) 1128 #ifdef USE_ARCHIVES 1129 && (gn->type & OP_LIB) == 0 1130 #endif 1131 ) 1132 { 1124 1133 /* 1125 1134 * No commands. Look for .DEFAULT rule from which we might infer … … 1148 1157 * this node's parents so they never get examined. 1149 1158 */ 1150 static const char msg[] = "make: don't know how to make";1159 static const char msg[] = MAKE_NAME ": don't know how to make"; 1151 1160 1152 1161 if (gn->type & OP_OPTIONAL) { … … 1162 1171 (*abortProc)("Not war."); 1163 1172 #if defined(NMAKE) || defined(KMK) 1164 else if (strcmp(gn->name,"fire") == 0)1173 else if (strcmp(gn->name,"fire") == 0) 1165 1174 (*abortProc)("No match."); 1166 1175 #endif 1167 else1176 else 1168 1177 #endif 1169 1178 (*abortProc)("%s %s. Stop", msg, gn->name);
Note:
See TracChangeset
for help on using the changeset viewer.