diff options
author | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-10-14 16:40:04 +0000 |
---|---|---|
committer | Vikram S. Adve <vadve@cs.uiuc.edu> | 2002-10-14 16:40:04 +0000 |
commit | ad9ea7e69499e4359f9b566143b48bc03fb7e216 (patch) | |
tree | 2eb8e6d1ccef9dcfd8079430857552d7ad9aab01 /Makefile.common | |
parent | edf3a727b7106cfa9f10aadd5e6f603bcc0b879f (diff) |
Allow the Source variable to be overridden completely if needed.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@4172 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r-- | Makefile.common | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Makefile.common b/Makefile.common index e8cc9bad5d..f3f3cf159c 100644 --- a/Makefile.common +++ b/Makefile.common @@ -126,7 +126,7 @@ endif # Special tools used while building the LLVM tree. Burg is built as part of the # utils directory. # -BURG := $(TOOLDEBUG)/burg +BURG := $(LEVEL)/utils/Burg/burg.$(UNAME) RunBurg := $(BURG) $(BURG_OPTS) @@ -198,7 +198,9 @@ BISON = bison # source files... # The local Makefile can list other Source files via ExtraSource = ... # +ifndef Source Source := $(ExtraSource) $(wildcard *.cpp *.c *.y *.l) +endif Objs := $(sort $(patsubst Debug/%.o, %.o, $(addsuffix .o,$(basename $(Source))))) ObjectsO := $(addprefix $(BUILD_ROOT)/Release/,$(Objs)) |