home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / sdkbld.mak < prev    next >
Text File  |  1998-04-25  |  971b  |  29 lines

  1. #
  2. # Include sdkbld.mak to build each of the entries in a list.
  3. #  The steps are to change dir into the directory, 
  4. #  echo the current location, run nmake recursively, 
  5. #  and change dir back to the original directory level.  
  6. #
  7. # MAKEFLAGS is an NMAKE macro that has the NMAKE options.
  8. #
  9. # makeopts has the command line, see sdkpropbldk.mak to change the standard options
  10. #
  11. # The SDKPROJ macro (above) is defined solely for the purpose of echoing
  12. #  the current directory location to the screen.  It is defined recursively 
  13. #  by appending the current directory name onto the end of the existing
  14. #  string.
  15. #
  16. #  Note, there must not be a space between the last comment and the
  17. #   "@IF EXIST $(@D)\makefile <<nmaketmp.bat" line below.
  18. #
  19.     @IF EXIST $(@D)\makefile <<nmaketmp.bat
  20.     @cd $(@D)
  21.     @echo *** $(SDKPROJ)\$(@D) *** $(MAKE) -nologo $(makeopts) /$(MAKEFLAGS)
  22.     @$(MAKE) -nologo /$(MAKEFLAGS) $(makeopts)
  23.     @cd ..
  24. <<    
  25.  
  26. #
  27. # End sdkbld.make
  28. #
  29.