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

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