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 / makefile next >
Makefile  |  1997-10-10  |  2KB  |  62 lines

  1. DIRS = \
  2.     appletalk\~   \
  3.     bcast\~   \
  4.     dt_dll\~   \
  5.     globchat\~   \
  6.     iocomplt\~   \
  7.     ipxchat\~   \
  8.     layered\~   \
  9.     nullprov\~   \
  10.     nwlink\~   \
  11.     overlap\~   \
  12.     ping\~   \
  13.     qoschat\~   \
  14.     rnr\~   \
  15.     simple\~   \
  16.     sockspx\~   \
  17.     tp4\~   \
  18.     ws2chat\~   \
  19.     wsock\~   \
  20.  
  21.  
  22. SDKPROJ =NetDS\winsock
  23.  
  24.  
  25. #
  26. # This is a Platform SDK non-leaf-node makefile.  It is used to allow NMAKE, 
  27. #  or a similar tool, to recursively build all of the samples in a directory 
  28. #  tree.  To add or remove a directory from the build process, modify the 
  29. #  DIRS list above.  
  30. #
  31. # The SDKPROJ macro (above) is defined solely for the purpose of echoing
  32. #  the current directory location to the screen.  
  33. #
  34. # Do not modify this makefile except for the DIRS and SDKPROJ macros above.
  35. #
  36.  
  37. #
  38. # Include sdkpropbld.mak in order to get standard build options, environment
  39. #  variables, and macros.  The sdkpropbld.mak file is installed with the SDK 
  40. #  in the include directory.
  41.  
  42. !include <sdkpropbld.mak>
  43.  
  44. # In order to build "all," process each of the entries in the DIRS list.
  45. #
  46.  
  47. all: $(DIRS)
  48.  
  49.  
  50. #
  51. # In order to build each of the entries in the DIRS list, change dir into the
  52. #  directory in question, echo the current location, run nmake recursively, 
  53. #  and change dir back to the original directory level.  This four step process 
  54. #  is encapsulated in sdkbld.mak which is installed with the SDK in the include
  55. #  directory.
  56. #
  57.  
  58. $(DIRS):
  59. !include <sdkbld.mak>
  60.