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

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