home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / cliptext / makefile < prev   
Makefile  |  1993-06-17  |  639b  |  24 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: cliptext.exe
  6.  
  7. # Update the resource if necessary
  8.  
  9. cliptext.res: cliptext.rc cliptext.h
  10.     rc -r cliptext.rc
  11.  
  12. cliptext.rbj: cliptext.res
  13.     cvtres -$(CPU) cliptext.res -o cliptext.rbj
  14.  
  15. # Update the object file if necessary
  16.  
  17. cliptext.obj: cliptext.c cliptext.h
  18.     $(cc) $(cflags) $(cvars) $(cdebug) cliptext.c
  19.  
  20. # Update the executable file if necessary, and if so, add the resource back in.
  21.  
  22. cliptext.exe: cliptext.obj cliptext.rbj cliptext.def
  23.     $(link) $(linkdebug) $(guiflags) -out:cliptext.exe cliptext.obj cliptext.rbj $(guilibs)
  24.