home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / sna / tpsetup / makefile.nt < prev    next >
Makefile  |  1997-04-09  |  675b  |  24 lines

  1. # This is the NT version of the TP Installer makefile.
  2.  
  3. !include <ntwin32.mak>
  4.  
  5. all: tpsetup.exe
  6.  
  7. # Update the resource if necessary
  8.  
  9. install.res: install.rc dialogs.h makefile.nt
  10.     $(rc) -DWIN32 -fo temp.res -r install.rc
  11.     cvtres temp.res -o install.res -$(CPU)
  12.     del temp.res
  13.  
  14. # Update the object file if necessary
  15.  
  16. install.obj: install.c install.h dialogs.h makefile.nt
  17.     $(cc) $(cdebug) $(cflags) $(cvars) install.c
  18.  
  19. # Update the executable file if necessary, and if so, add the resource back in.
  20.  
  21. tpsetup.exe: install.obj install.res
  22.     $(link) $(linkdebug) $(guiflags) -out:tpsetup.exe install.obj install.res $(guilibs) advapi32.lib
  23. 
  24.