home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / gdi / winnt / wxform / makefile next >
Makefile  |  1996-04-09  |  582b  |  23 lines

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