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

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