summaryrefslogtreecommitdiff
path: root/Makefile.common
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-07-25 15:01:19 +0000
committerChris Lattner <sabre@nondot.org>2002-07-25 15:01:19 +0000
commit4fa128c950b86bc628dda0175296eabcb5d93ca5 (patch)
tree56fd03371f655202703fd96a2236e1dab92b8b19 /Makefile.common
parentc6a4bf1251f3dc44d2164c0847ce0b19ed7409a2 (diff)
downloadllvm-4fa128c950b86bc628dda0175296eabcb5d93ca5.tar.gz
llvm-4fa128c950b86bc628dda0175296eabcb5d93ca5.tar.bz2
llvm-4fa128c950b86bc628dda0175296eabcb5d93ca5.tar.xz
Changes to allow building lib/Target/Sparc the FIRST time.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3078 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.common')
-rw-r--r--Makefile.common8
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.common b/Makefile.common
index aef05750ac..de40eabfcd 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -117,7 +117,7 @@ MakeLib = $(AR)
#
Source := $(ExtraSource) $(wildcard *.cpp *.c *.y *.l)
-Objs := $(sort $(addsuffix .o,$(basename $(Source))))
+Objs := $(sort $(patsubst Debug/%.o, %.o, $(addsuffix .o,$(basename $(Source)))))
ObjectsO = $(addprefix Release/,$(Objs))
ObjectsG = $(addprefix Debug/,$(Objs))
@@ -296,8 +296,8 @@ Debug/%.o: %.cpp Debug/.dir Depend/.dir
# $(CompileGC) $< -o $@
# Create a .cpp source file from a burg input file
-%.burm.cpp: Debug/%.burg Debug/.dir
- $(RunBurg) $< -o $@
+#Debug/%.cpp: Debug/% Debug/.dir
+# $(RunBurg) $< -o $@
# Create a .cpp source file from a flex input file... this uses sed to cut down
# on the warnings emited by GCC...
@@ -324,7 +324,7 @@ clean::
# If dependancies were generated for the file that included this file,
# include the dependancies now...
#
-SourceDepend = $(addsuffix .d,$(addprefix Depend/,$(basename $(Source))))
+SourceDepend = $(addsuffix .d,$(addprefix Depend/,$(basename $(filter-out Debug/%, $(Source)))))
ifneq ($(SourceDepend),)
include $(SourceDepend)
endif