diff --git a/docs/Projects.html b/docs/Projects.html index dafedc91d14..da1bc2ebe30 100644 --- a/docs/Projects.html +++ b/docs/Projects.html @@ -40,37 +40,32 @@ projects that use LLVM header files, libraries, and tools. In order to use these facilities, a Makefile from a project must do the following things:

    -
  1. Set environment variables.There are several environment variables that a -Makefile needs to set to use the LLVM build system: - -
  2. -
  3. Include Makefile.config from $(LLVM_OBJ_ROOT).
  4. -
  5. Include Makefile.rules from $(LLVM_SRC_ROOT).
  6. +
  7. Set make variables. There are several variables that a Makefile + needs to set to use the LLVM build system: +
  8. +
  9. Include Makefile.config from $(LLVM_OBJ_ROOT).
  10. +
  11. Include Makefile.rules from $(LLVM_SRC_ROOT).

There are two ways that you can set all of these variables:

-
    -
  1. You can write your own Makefiles which hard-code these values.
  2. - -
  3. You can use the pre-made LLVM sample project. This sample project includes -Makefiles, a configure script that can be used to configure the location of -LLVM, and the ability to support multiple object directories from a single -source directory.
  4. +
  5. You can write your own Makefiles which hard-code these values.
  6. +
  7. You can use the pre-made LLVM sample project. This sample project + includes Makefiles, a configure script that can be used to configure the + location of LLVM, and the ability to support multiple object directories + from a single source directory.
-

This document assumes that you will base your project off of the LLVM sample +

This document assumes that you will base your project on the LLVM sample project found in llvm/projects/sample. If you want to devise your own build system, studying the sample project and LLVM Makefiles will probably provide enough information on how to write your own Makefiles.