/3rd_party/llvm/examples/Makefile

https://code.google.com/p/softart/ · Makefile · 32 lines · 18 code · 6 blank · 8 comment · 0 complexity · 00baf69be4e6ffe085fb1f16b6fb3c19 MD5 · raw file

  1. ##===- examples/Makefile -----------------------------------*- Makefile -*-===##
  2. #
  3. # The LLVM Compiler Infrastructure
  4. #
  5. # This file is distributed under the University of Illinois Open Source
  6. # License. See LICENSE.TXT for details.
  7. #
  8. ##===----------------------------------------------------------------------===##
  9. LEVEL=..
  10. include $(LEVEL)/Makefile.config
  11. PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
  12. ifeq ($(HAVE_PTHREAD),1)
  13. PARALLEL_DIRS += ParallelJIT
  14. endif
  15. ifeq ($(LLVM_ON_UNIX),1)
  16. ifeq ($(ARCH),x86)
  17. PARALLEL_DIRS += ExceptionDemo
  18. endif
  19. ifeq ($(ARCH),x86_64)
  20. PARALLEL_DIRS += ExceptionDemo
  21. endif
  22. endif
  23. ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
  24. PARALLEL_DIRS += OCaml-Kaleidoscope
  25. endif
  26. include $(LEVEL)/Makefile.common