mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-27 13:30:05 +00:00
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
This commit is contained in:
parent
edf3a727b7
commit
ad9ea7e694
@ -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))
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user