home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / sdktools / winnt / uconvert / makefile < prev    next >
Makefile  |  1995-10-09  |  977b  |  38 lines

  1. # Nmake macros for building Windows 32-Bit apps
  2.  
  3. TARGETOS=WINNT
  4.  
  5. !include <ntwin32.mak>
  6.  
  7. all: uconvert.exe uconvert.hlp
  8.  
  9.  
  10. # Update the resource if necessary
  11. uconvert.res: uconvert.rc uconvert.h
  12.     rc -r -fo uconvert.res uconvert.rc
  13.  
  14. # Update the online help file if necessary.
  15. uconvert.hlp: uconvert.hpj uconvert.rtf
  16.     if exist uconvert.PH del uconvert.PH
  17.     $(hc) uconvert.hpj
  18.  
  19.  
  20. # Update the object files if necessary
  21.  
  22. uconvert.obj: uconvert.c uconvert.h
  23.     $(cc) $(cdebug) $(cflags) $(cvars) uconvert.c
  24.  
  25.  
  26. install.obj: install.c install.h
  27.     $(cc) $(cdebug) $(cflags) $(cvars) install.c
  28.  
  29. dialogs.obj: dialogs.c uconvert.h
  30.     $(cc) $(cdebug) $(cflags) $(cvars) dialogs.c
  31.  
  32.  
  33. # Update the executable file if necessary
  34.  
  35. uconvert.exe: uconvert.obj install.obj dialogs.obj uconvert.res
  36.     $(link) $(linkdebug) $(guiflags) -out:uconvert.exe \
  37.           uconvert.obj install.obj dialogs.obj uconvert.res $(guilibs) advapi32.lib shell32.lib
  38.