Allow the Source variable to be overridden completely if needed.

llvm-svn: 4172
This commit is contained in:
Vikram S. Adve 2002-10-14 16:40:04 +00:00
parent 92ccbb9f27
commit 53738841e6
2 changed files with 6 additions and 2 deletions

View File

@ -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))

View File

@ -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))