home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / netds / winsock / sockspx / makefile next >
Makefile  |  1996-07-28  |  506b  |  28 lines

  1.  
  2. ! include <ntwin32.mak>
  3.  
  4. # define these if you want a debug version
  5. #PDB = sockspx.pdb
  6. #CDEBUG= -Zi -Fd"$(PDB)"
  7. #LDEBUG = -debug:full
  8.  
  9. LIBS = kernel32.lib user32.lib wsock32.lib oldnames.lib libcmt.lib 
  10.  
  11. .c.obj:
  12.     cl $(CDEBUG) -W3 -MT  -c $<
  13.  
  14. all:sockspx.exe 
  15.  
  16. sockspx.exe:sockspx.obj
  17.     link -nodefaultlib sockspx.obj $(LIBS) $(LDEBUG) \
  18. #
  19. # uncomment the line below for a debug build
  20. #    -pdb:$(PDB)  \
  21.     -out:sockspx.exe
  22.  
  23. clean:
  24.     -del *.obj *.pdb *.ilk
  25.  
  26. cleanall:clean
  27.     -del *.exe
  28.