home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / winui / resource / dyndlg / makefile < prev    next >
Encoding:
Makefile  |  1995-04-01  |  709 b   |  31 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: dyndlg.exe dyndlg.hlp
  6.  
  7.  
  8. # Update the resource if necessary
  9.  
  10. dyndlg.res: dyndlg.rc dyndlg.h
  11.     $(rc) $(rcvars) -r -fo dyndlg.res dyndlg.rc
  12.  
  13.  
  14. # Update the online help file if necessary.
  15.  
  16. dyndlg.hlp: dyndlg.hpj dyndlg.rtf
  17.     @if exist dyndlg.PH del dyndlg.PH
  18.     $(hc) dyndlg.hpj
  19.  
  20.  
  21. # Update the object file if necessary
  22.  
  23. dyndlg.obj: dyndlg.c dyndlg.h
  24.     $(cc) $(cdebug) $(cflags) $(cvars) dyndlg.c
  25.  
  26.  
  27. # Update the executable file if necessary, and if so, add the resource back in.
  28.  
  29. dyndlg.exe: dyndlg.obj dyndlg.res
  30.     $(link) $(linkdebug) $(guiflags) -out:dyndlg.exe dyndlg.obj dyndlg.res $(guilibs)
  31.