[llvm-commits] CVS: llvm/Makefile.common
Vikram Adve
vadve at cs.uiuc.edu
Mon Oct 14 11:41:01 PDT 2002
Changes in directory llvm:
Makefile.common updated: 1.60 -> 1.61
---
Log message:
Allow the Source variable to be overridden completely if needed.
---
Diffs of the changes:
Index: llvm/Makefile.common
diff -u llvm/Makefile.common:1.60 llvm/Makefile.common:1.61
--- llvm/Makefile.common:1.60 Wed Sep 25 12:15:22 2002
+++ llvm/Makefile.common Mon Oct 14 11:40:04 2002
@@ -126,7 +126,7 @@
# 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 @@
# 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))
More information about the llvm-commits
mailing list