home *** CD-ROM | disk | FTP | other *** search
/ Windows Shareware GOLD / NuclearComputingVol3No1.cdr / utils / f1380 / memgauge next >
Text File  |  1990-12-14  |  911b  |  28 lines

  1. # Standard Windows make file.  The utility MAKE.EXE compares the
  2. # creation date of the file to the left of the colon with the file(s)
  3. # to the right of the colon.  If the file(s) on the right are newer
  4. # then the file on the left, Make will execute all of the command lines
  5. # following this line that are indented by at least one tab or space.
  6. # Any valid MS-DOS command line may be used.
  7.  
  8. # This line allows NMAKE to work as well
  9.  
  10. all: memgauge.exe
  11.  
  12. # Update the resource if necessary
  13.  
  14. memgauge.res: memgauge.rc memgauge.h
  15.     rc -r memgauge.rc
  16.  
  17. # Update the object file if necessary
  18.  
  19. memgauge.obj: memgauge.c memgauge.h
  20.     cl -c -AS -Gsw -Oas -Od -Zi -Zpe memgauge.c
  21.  
  22. # Update the executable file if necessary, and if so, add the resource back in.
  23.  
  24. memgauge.exe: memgauge.obj memgauge.def memgauge.res
  25.     link /NOD /CO memgauge,,, libw slibcew, memgauge.def
  26.     rc memgauge.res
  27.  
  28.