summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-11-29 09:50:15 +0000
committerChris Lattner <sabre@nondot.org>2003-11-29 09:50:15 +0000
commiteefa3d3cfb73062a91a96a92287e88c356f1afdc (patch)
tree16b37d934e95c4eccf390e4ba53229c931449c43 /Makefile.rules
parentf6968f388662b1203508065979b361cba4c28512 (diff)
downloadllvm-eefa3d3cfb73062a91a96a92287e88c356f1afdc.tar.gz
llvm-eefa3d3cfb73062a91a96a92287e88c356f1afdc.tar.bz2
llvm-eefa3d3cfb73062a91a96a92287e88c356f1afdc.tar.xz
Simplify some rules
Move LGCCLDPROG from test/Makefile.tests git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules16
1 files changed, 8 insertions, 8 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 48dfe35bf7..07cff21302 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -243,9 +243,10 @@ endif
#--------------------------------------------------------------------------
# Utilities used while building the LLVM tree, which live in the utils dir
#
-BURG := $(LLVMTOOLCURRENT)/burg
-RunBurg := $(BURG) $(BURG_OPTS)
-TBLGEN := $(LLVMTOOLCURRENT)/tblgen
+BURG := $(LLVMTOOLCURRENT)/burg
+RunBurg := $(BURG) $(BURG_OPTS)
+TBLGEN := $(LLVMTOOLCURRENT)/tblgen
+LGCCLDPROG := $(LLVMTOOLCURRENT)/gccld
#--------------------------------------------------------------------------
# The LLVM GCC front-end in C and C++ flavors
@@ -374,11 +375,10 @@ endif
# Libtool Objects
#
Srcs := $(sort $(basename $(Source)))
-Objs := $(addsuffix .lo, $(Srcs))
-ObjectsO := $(addprefix $(BUILD_OBJ_DIR)/Release/,$(Objs))
-ObjectsP := $(addprefix $(BUILD_OBJ_DIR)/Profile/,$(Objs))
-ObjectsG := $(addprefix $(BUILD_OBJ_DIR)/Debug/,$(Objs))
-ObjectsBC := $(addprefix $(BUILD_OBJ_DIR)/BytecodeObj/,$(addsuffix .bc, $(Srcs)))
+ObjectsO := $(Srcs:%=$(BUILD_OBJ_DIR)/Release/%.lo)
+ObjectsP := $(Srcs:%=$(BUILD_OBJ_DIR)/Profile/%.lo)
+ObjectsG := $(Srcs:%=$(BUILD_OBJ_DIR)/Debug/%.lo)
+ObjectsBC := $(Srcs:%=$(BUILD_OBJ_DIR)/BytecodeObj/%.bc)
#
# The real objects underlying the libtool objects