home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 10 / 10.iso / m / m003_1 / sdk_win.ddi / SAMPLE / DLLVOICE / DLLVOICE.MK < prev    next >
Encoding:
Makefile  |  1991-06-17  |  1.1 KB  |  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. # This line allows NMAKE to work as well
  9.  
  10. all: dllvoice.exe
  11.  
  12. # Update the resource if necessary
  13.  
  14. dllvoice.res: dllvoice.rc dllvoice.h
  15.     rc -r dllvoice.rc
  16.  
  17. # Update the object file if necessary
  18.  
  19. dllvoice.obj: dllvoice.c dllvoice.h
  20.     cl -c -AS -Gsw -Od -Zip dllvoice.c
  21.  
  22. # Update the executable file if necessary, and if so, add the resource back in.
  23.  
  24. dllvoice.exe: dllvoice.obj dllvoice.def
  25.     link /CO/NOD dllvoice,,, libw slibcew, dllvoice.def
  26.     rc dllvoice.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. dllvoice.exe: dllvoice.res
  33.     rc dllvoice.res
  34.