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