1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-23 19:23:23 +01:00
llvm-mirror/examples/Makefile

33 lines
803 B
Makefile
Raw Normal View History

##===- examples/Makefile -----------------------------------*- Makefile -*-===##
2010-08-19 22:03:53 +02:00
#
# The LLVM Compiler Infrastructure
#
# This file is distributed under the University of Illinois Open Source
# License. See LICENSE.TXT for details.
2010-08-19 22:03:53 +02:00
#
##===----------------------------------------------------------------------===##
LEVEL=..
include $(LEVEL)/Makefile.config
PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT Kaleidoscope ModuleMaker
ifeq ($(HAVE_PTHREAD),1)
2010-08-19 22:03:53 +02:00
PARALLEL_DIRS += ParallelJIT
endif
ifeq ($(LLVM_ON_UNIX),1)
ifeq ($(ARCH),x86)
PARALLEL_DIRS += ExceptionDemo
endif
ifeq ($(ARCH),x86_64)
PARALLEL_DIRS += ExceptionDemo
endif
endif
ifeq ($(filter $(BINDINGS_TO_BUILD),ocaml),ocaml)
PARALLEL_DIRS += OCaml-Kaleidoscope
endif
include $(LEVEL)/Makefile.common