diff options
author | Chris Lattner <sabre@nondot.org> | 2001-10-18 01:48:09 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-10-18 01:48:09 +0000 |
commit | e001059e0a9e8e0357b16f0741ec8affaedf24df (patch) | |
tree | b5c475664f051a31874428c3fa05bffea75c8bf1 /Makefile.common | |
parent | 5680ee6b28974c9cf6cab9f603d30e6eda2715bc (diff) | |
download | llvm-e001059e0a9e8e0357b16f0741ec8affaedf24df.tar.gz |
Change Sources specifier to ExtraSources
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@874 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.common b/Makefile.common index d1fd8e70ea97..e56b668e5270 100644 --- a/Makefile.common +++ b/Makefile.common @@ -17,7 +17,8 @@ # # 3. Source - If specified, this sets the source code filenames. If this # is not set, it defaults to be all of the .cpp, .c, .y, and .l files -# in the current directory. +# in the current directory. Also, if you want to build files in addition +# to the local files, you can use the ExtraSource variable # # Default Rule: Make sure it's also a :: rule @@ -78,9 +79,9 @@ MakeLib = $(AR) # Source includes all of the cpp files, and objects are derived from the # source files... -# The local Makefile can list other Source files via Source = ... +# The local Makefile can list other Source files via ExtraSource = ... # -Source := $(Source) $(wildcard *.cpp *.c *.y *.l) +Source := $(ExtraSource) $(wildcard *.cpp *.c *.y *.l) Objs = $(sort $(addsuffix .o,$(basename $(Source)))) ObjectsO = $(addprefix Release/,$(Objs)) |