home *** CD-ROM | disk | FTP | other *** search
/ Power-Programmierung / CD1.mdf / magazine / pcmagazi / 1992 / 09 / demo8 < prev    next >
Text File  |  1992-02-09  |  618b  |  25 lines

  1. # Update the resource if necessary
  2.  
  3. demo8.res: demo8.rc demo8.h
  4.     rc -r demo8.rc
  5.  
  6. # Update the object file if necessary
  7.  
  8. demo8.obj: demo8.c demo8.h
  9.     cl -Zi -c -AS -Gsw -Oas -Zpe demo8.c
  10.  
  11. # Update the executable file if necessary, and if so, add the resource back in.
  12.  
  13. demo8.exe: demo8.obj demo8.def
  14.     link /CODEVIEW /NOD demo8,,, penwin libw slibcew, demo8.def
  15.     rc demo8.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. demo8.exe: demo8.res
  22.     rc demo8.res
  23.  
  24.  
  25.