CMake: Builds all examples. Corrected name of CBackend target.
[oota-llvm.git] / examples / ModuleMaker / Makefile
index 034ab053ba51cbf0cab16d6b9d9d6df23461f4aa..9454cf514dc14642c80362bf42b89ebb887e4c59 100644 (file)
@@ -1,27 +1,14 @@
-##===- projects/ModuleMaker/Makefile -----------------------*- Makefile -*-===##
+##===- examples/ModuleMaker/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.
 # 
 ##===----------------------------------------------------------------------===##
-#
-# This is a sample Makefile for a project that uses LLVM.
-#
-
-#
-# Indicates our relative path to the top of the project's root directory.
-#
-LEVEL = .
+LEVEL=../..
+TOOLNAME=ModuleMaker
+EXAMPLE_TOOL = 1
+LINK_COMPONENTS := bitwriter
 
-#
-# Directories that needs to be built.
-#
-DIRS = tools
-
-#
-# Include the Master Makefile that knows how to build all.
-#
 include $(LEVEL)/Makefile.common
-