home *** CD-ROM | disk | FTP | other *** search
/ Lion Share / lionsharecd.iso / utils_mz / v11n05.zip / DEMO4 < prev    next >
Text File  |  1992-01-20  |  618b  |  25 lines

  1. # Update the resource if necessary
  2.  
  3. demo4.res: demo4.rc demo4.h
  4.     rc -r demo4.rc
  5.  
  6. # Update the object file if necessary
  7.  
  8. demo4.obj: demo4.c demo4.h
  9.     cl -Zi -c -AS -Gsw -Oas -Zpe demo4.c
  10.  
  11. # Update the executable file if necessary, and if so, add the resource back in.
  12.  
  13. demo4.exe: demo4.obj demo4.def
  14.     link /CODEVIEW /NOD demo4,,, penwin libw slibcew, demo4.def
  15.     rc demo4.res
  16.  
  17. # If the .res file is new and the .exe file is not, update the resource.
  18. # Note that the .rc file can be updated without having to either 
  19. # compile or link the file.
  20.  
  21. demo4.exe: demo4.res
  22.     rc demo4.res
  23.  
  24.  
  25.