home *** CD-ROM | disk | FTP | other *** search
/ The Fred Fish Collection 1.5 / ffcollection-1-5-1992-11.iso / ff_disks / 300-399 / ff384.lzh / NorthC / Example2.LZH / make / make.h < prev    next >
Text File  |  1990-08-30  |  735b  |  43 lines

  1. /*
  2.   (c) 1990 S.Hawtin.
  3.   Permission is granted to copy this file provided that:
  4.    1) It is not used for commercial gain
  5.    2) This notice is included in all copies
  6.    3) Altered copies are marked as such.
  7.  
  8.   No liability is accepted for the contents of the file.
  9.  
  10.   make.h    within        WBmake
  11.  
  12. */
  13.  
  14. #define EXE_FILE 0L
  15.  
  16. typedef struct _str
  17.    {struct _str *next;
  18.     char contents[1];
  19.     } String;
  20.  
  21. #define MAKING  0x0001
  22.  
  23. typedef struct
  24.    {char *name;
  25.     long type;
  26.     long date;
  27.     struct _cons *depends;
  28.     String *create;
  29.     int  flags;
  30.     } FileInfo;
  31.  
  32. typedef struct _cons
  33.    {FileInfo *car;
  34.     struct _cons *cdr;
  35.     } ConsCell;
  36.  
  37. typedef struct _var
  38.    {char   *var;
  39.     String *val;
  40.     struct _var *next;
  41.     } Variable;
  42.  
  43.