Changeset 173 for trunk/src/makedep/pr.c


Ignore:
Timestamp:
Oct 13, 2004, 6:01:50 PM (21 years ago)
Author:
bird
Message:

quiet option and objname option.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/makedep/pr.c

    r164 r173  
    3131extern struct   inclist inclist[ MAXFILES ],
    3232                        *inclistp;
     33extern char     *objname; /* bird */
    3334extern char     *objprefix;
    3435extern char     *objsuffix;
     
    8788        if (current_len + len > width || file != lastfile) {
    8889                lastfile = file;
    89                 sprintf(buf, "\n%s%s%s: %s", objprefix, base, objsuffix,
    90                         ip->i_file);
     90                if (objname)
     91                        sprintf(buf, "\n%s: %s", objname, ip->i_file);
     92                else
     93                        sprintf(buf, "\n%s%s%s: %s", objprefix, base,
     94                                objsuffix, ip->i_file);
    9195                len = current_len = strlen(buf);
    9296        }
Note: See TracChangeset for help on using the changeset viewer.