[BACK]Return to make.c CVS log [TXT][DIR] Up to [local] / src / usr.bin / make

Diff for /src/usr.bin/make/make.c between version 1.1 and 1.2

version 1.1, 1995/10/18 08:45:43 version 1.2, 1996/03/27 19:32:38
Line 1 
Line 1 
 /*      $NetBSD: make.c,v 1.7 1995/06/14 15:19:40 christos Exp $        */  /*      $OpenBSD$       */
   /*      $NetBSD: make.c,v 1.8 1996/03/15 21:52:37 christos Exp $        */
   
 /*  /*
  * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.   * Copyright (c) 1988, 1989, 1990 The Regents of the University of California.
Line 41 
Line 42 
 #ifndef lint  #ifndef lint
 #if 0  #if 0
 static char sccsid[] = "@(#)make.c      5.3 (Berkeley) 6/1/90";  static char sccsid[] = "@(#)make.c      5.3 (Berkeley) 6/1/90";
   static char rcsid[] = "$NetBSD: make.c,v 1.8 1996/03/15 21:52:37 christos Exp $";
 #else  #else
 static char rcsid[] = "$NetBSD: make.c,v 1.7 1995/06/14 15:19:40 christos Exp $";  static char rcsid[] = "$OpenBSD$";
 #endif  #endif
 #endif /* not lint */  #endif /* not lint */
   
Line 213 
Line 215 
             printf(".JOIN node...");              printf(".JOIN node...");
         }          }
         oodate = gn->childMade;          oodate = gn->childMade;
     } else if (gn->type & (OP_FORCE|OP_EXEC)) {      } else if (gn->type & (OP_FORCE|OP_EXEC|OP_PHONY)) {
         /*          /*
          * A node which is the object of the force (!) operator or which has           * A node which is the object of the force (!) operator or which has
          * the .EXEC attribute is always considered out-of-date.           * the .EXEC attribute is always considered out-of-date.
Line 221 
Line 223 
         if (DEBUG(MAKE)) {          if (DEBUG(MAKE)) {
             if (gn->type & OP_FORCE) {              if (gn->type & OP_FORCE) {
                 printf("! operator...");                  printf("! operator...");
               } else if (gn->type & OP_PHONY) {
                   printf(".PHONY node...");
             } else {              } else {
                 printf(".EXEC node...");                  printf(".EXEC node...");
             }              }

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2