home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / com / activexcontrol / makefile
Makefile  |  1997-10-09  |  1KB  |  46 lines

  1. DIRS = \
  2.     BASECTL\~   \
  3.     WEBIMAGE\~   \
  4.  
  5.  
  6. SDKPROJ =COM\ActiveXControl
  7.  
  8.  
  9. #
  10. # This is a Platform SDK non-leaf-node makefile.  It is used to allow NMAKE, 
  11. #  or a similar tool, to recursively build all of the samples in a directory 
  12. #  tree.  To add or remove a directory from the build process, modify the 
  13. #  DIRS list above.  
  14. #
  15. # The SDKPROJ macro (above) is defined solely for the purpose of echoing
  16. #  the current directory location to the screen.  
  17. #
  18. # Do not modify this makefile except for the DIRS and SDKPROJ macros above.
  19. #
  20.  
  21. #
  22. # Include sdkpropbld.mak in order to get standard build options, environment
  23. #  variables, and macros.  The sdkpropbld.mak file is installed with the SDK 
  24. #  in the include directory.
  25.  
  26. !include <sdkpropbld.mak>
  27.  
  28. # In order to build "all," process each of the entries in the DIRS list.
  29. #
  30.  
  31. all: $(DIRS)
  32.  
  33.  
  34. #
  35. # In order to build each of the entries in the DIRS list, change dir into the
  36. #  directory in question, echo the current location, run nmake recursively, 
  37. #  and change dir back to the original directory level.  This four step process 
  38. #  is encapsulated in sdkbld.mak which is installed with the SDK in the include
  39. #  directory.
  40. #
  41.  
  42. $(DIRS):
  43. !include <sdkbld.mak>
  44.