home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / DMAKE38C.ZIP / TOS / RMPRQ.C < prev    next >
C/C++ Source or Header  |  1992-01-23  |  2KB  |  50 lines

  1. /* RCS      -- $Header: /u2/dvadura/src/generic/dmake/src/tos/rmprq.c,v 1.1 1992/01/24 03:27:16 dvadura Exp $
  2. -- SYNOPSIS -- remove prerequisites code.
  3. -- 
  4. -- DESCRIPTION
  5. --    This code is different for DOS and for UNIX and parallel make
  6. --    architectures since the parallel case requires the rm's to be
  7. --    run in parallel, whereas DOS guarantees to run them sequentially.
  8. -- 
  9. -- AUTHOR
  10. --      Dennis Vadura, dvadura@watdragon.uwaterloo.ca
  11. --      CS DEPT, University of Waterloo, Waterloo, Ont., Canada
  12. --
  13. -- COPYRIGHT
  14. --      Copyright (c) 1990 by Dennis Vadura.  All rights reserved.
  15. -- 
  16. --      This program is free software; you can redistribute it and/or
  17. --      modify it under the terms of the GNU General Public License
  18. --      (version 1), as published by the Free Software Foundation, and
  19. --      found in the file 'LICENSE' included with this distribution.
  20. -- 
  21. --      This program is distributed in the hope that it will be useful,
  22. --      but WITHOUT ANY WARRANTY; without even the implied warrant of
  23. --      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  24. --      GNU General Public License for more details.
  25. -- 
  26. --      You should have received a copy of the GNU General Public License
  27. --      along with this program;  if not, write to the Free Software
  28. --      Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  29. --
  30. -- LOG
  31. --     $Log: rmprq.c,v $
  32.  * Revision 1.1  1992/01/24  03:27:16  dvadura
  33.  * dmake Version 3.8, Initial revision
  34.  *
  35. */
  36.  
  37. #include "extern.h"
  38. #include "alloc.h"
  39.  
  40. void
  41. Remove_prq( tcp )
  42. CELLPTR tcp;
  43. {
  44.    tcp->ce_flag         &= ~(F_MADE|F_VISITED);
  45.    tcp->CE_HOW->hw_flag &= ~(F_MADE|F_VISITED);
  46.    tcp->ce_time          = 0L;
  47.  
  48.    Make( tcp, tcp->CE_HOW, NIL(CELL) );
  49. }
  50.