Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
1.3 KiB

  1. # --------------------------------------------------------------------
  2. #
  3. # Microsoft RPC
  4. # Copyright(c) Microsoft Corp., 1992-94
  5. #
  6. # --------------------------------------------------------------------
  7. # --------------------------------------------------------------------
  8. #
  9. # File : makefile.
  10. #
  11. # Title : Makefile for perf\common
  12. #
  13. # History :
  14. #
  15. # --------------------------------------------------------------------
  16. !ifdef NTMAKEENV
  17. !INCLUDE $(NTMAKEENV)\makefile.def
  18. !else # NTMAKEENV
  19. !ifndef RPC
  20. !error - You forgot to set your build environment
  21. !endif
  22. ALL=1
  23. !include ..\rules.mk
  24. !if "$(TRG)" == "ALL"
  25. TARGETDIRS = $(CLIENT_SUBDIRS)
  26. !else
  27. TARGETDIRS = $(TRG)
  28. !endif
  29. ###########################################################################
  30. all :
  31. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) || exit) && cd ..)
  32. clean :
  33. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) clean || exit ) && cd ..)
  34. clobber :
  35. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) clobber || exit ) && cd ..)
  36. depend :
  37. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) $(NMAKE_FLAGS) depend || exit ) && cd ..)
  38. tree :
  39. for %%i in ($(TARGETDIRS)) do (cd %%i && ($(MAKE) -$(MAKEFLAGS) tree || exit ) && cd ..)
  40. !endif # NTMAKEENV