home *** CD-ROM | disk | FTP | other *** search
/ CICA 1994 September / CICA_Shareware_for_Windows_Walnut_Creek_September_1994.iso / win3 / sounds / winplay.zoo / winplay.mk < prev    next >
Text File  |  1991-02-03  |  770b  |  30 lines

  1. # This line allows NMAKE to work as well
  2.  
  3. all: winplay.exe
  4.  
  5. # Update the resource if necessary
  6.  
  7. winplay.res: winplay.rc winplay.h
  8.     rc -r winplay.rc
  9.  
  10. # Update the object file if necessary
  11.  
  12. winplay.obj: winplay.c winplay.h
  13.     cl -c -W3 -AS -Gsw -Oas -Zpe winplay.c
  14.  
  15. #filepen.obj: fileopen.c winplay.h
  16. #    cl -c -W3 -AS -Gsw -Oas -Zpe fileopen.c
  17.  
  18. # Update the executable file if necessary, and if so, add the resource back in.
  19.  
  20. winplay.exe: winplay.obj winplay.def
  21.     link /NOD winplay,,, libw slibcew, winplay.def
  22.     rc winplay.res
  23.  
  24. # If the .res file is new and the .exe file is not, update the resource.
  25. # Note that the .rc file can be updated without having to either
  26. # compile or link the file.
  27.  
  28. winplay.exe: winplay.res
  29.     rc winplay.res
  30.