home *** CD-ROM | disk | FTP | other *** search
/ Shareware Overload / ShartewareOverload.cdr / windows / qexit.zip / QEXIT < prev    next >
Text File  |  1990-11-25  |  1KB  |  34 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. copt=-c -AL -Gsw -Oas -Zpe -W3
  9. lopt=/NOD
  10.  
  11. # Update the resource if necessary
  12.  
  13. qexit.res: qexit.rc qexit.h
  14.     rc -r qexit.rc
  15.  
  16. # Update the object file if necessary
  17.  
  18. qexit.obj: qexit.c qexit.h
  19.     cl $(copt) qexit.c
  20.  
  21. # Update the executable file if necessary, and if so, add the resource back in.
  22. # The /NOE must be included when linking with Windows libraries.
  23.  
  24. qexit.exe: qexit.obj qexit.def
  25.     link4 qexit, , , \windev\lib\libw \windev\lib\llibcew/NOE $(lopt), qexit.def
  26.     rc qexit.res
  27.  
  28. # If the .res file is new and the .exe file is not, update the resource.
  29. # Note that the .rc file can be updated without having to either 
  30. # compile or link the file.
  31.  
  32. qexit.exe: qexit.res
  33.     rc qexit.res
  34.