mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
2ad09ed070
1. Capture the ENABLE_THREADS configure variable in Makefile.config 2. Use ENABLE_THREADS to avoid building ParallelJIT if threads are not present. llvm-svn: 28609
20 lines
583 B
Makefile
20 lines
583 B
Makefile
##===- examples/Makefile -----------------------------------*- Makefile -*-===##
|
|
#
|
|
# The LLVM Compiler Infrastructure
|
|
#
|
|
# This file was developed by the LLVM research group and is distributed under
|
|
# the University of Illinois Open Source License. See LICENSE.TXT for details.
|
|
#
|
|
##===----------------------------------------------------------------------===##
|
|
LEVEL=..
|
|
|
|
include $(LEVEL)/Makefile.config
|
|
|
|
PARALLEL_DIRS:= Fibonacci HowToUseJIT ModuleMaker BFtoLLVM
|
|
|
|
ifeq ($(ENABLE_THREADS),1)
|
|
PARALLEL_DIRS += ParallelJIT
|
|
endif
|
|
|
|
include $(LEVEL)/Makefile.common
|