X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=examples%2FMakefile;h=39118f7ed176b079b9be696ecc56f1e60426a79d;hb=a3ec5d6eccb0fa3746050a3d3c739bd9718b6bd0;hp=6c53f72c3874b598f2c0e9091cd438bcba45ea8e;hpb=f3b4755aa0eb6f8dd72c41f267b5438d9a03d0d8;p=oota-llvm.git diff --git a/examples/Makefile b/examples/Makefile index 6c53f72c387..39118f7ed17 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,16 +1,19 @@ -##===- projects/Makefile ------------------------------*- 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. +# This file is distributed under the University of Illinois Open Source +# License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## -LEVEL=../.. +LEVEL=.. include $(LEVEL)/Makefile.config -DIRS= -OPTIONAL_DIRS:=$(basename $(shell ls $(SourceDir) | grep -v CVS | grep -v Makefile)) +PARALLEL_DIRS:= BrainF Fibonacci HowToUseJIT ModuleMaker -include $(BUILD_SRC_ROOT)/Makefile.rules +ifeq ($(HAVE_PTHREAD),1) +PARALLEL_DIRS += ParallelJIT +endif + +include $(LEVEL)/Makefile.common