t2.mk 580 B

123456789101112131415161718192021222324252627282930313233
  1. #
  2. # Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
  3. # All rights reserved.
  4. # This component and the accompanying materials are made available
  5. # under the terms of the License "Eclipse Public License v1.0"
  6. # which accompanies this distribution, and is available
  7. # at the URL "http://www.eclipse.org/legal/epl-v10.html".
  8. #
  9. # Initial Contributors:
  10. # Nokia Corporation - initial contribution.
  11. #
  12. # Contributors:
  13. #
  14. # Description:
  15. #
  16. all: a b
  17. define doa
  18. a:
  19. x
  20. endef
  21. define dob
  22. b:
  23. y
  24. endef
  25. SHELL:=bash -c echo ho
  26. $(eval $(doa))
  27. SHELL:=bash -c echo hi
  28. $(eval $(dob))