summaryrefslogtreecommitdiff
path: root/Makefile.rules
diff options
context:
space:
mode:
authorMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:37:22 +0000
committerMisha Brukman <brukman+llvm@gmail.com>2003-10-10 17:37:22 +0000
commit10c1d77a327689062e9c42941a54d689bf940104 (patch)
tree1b99a753bc60a64386a7695661531eb3248be910 /Makefile.rules
parentaf9e45f89236ac7030928060811c4b381d43f968 (diff)
downloadllvm-10c1d77a327689062e9c42941a54d689bf940104.tar.gz
llvm-10c1d77a327689062e9c42941a54d689bf940104.tar.bz2
llvm-10c1d77a327689062e9c42941a54d689bf940104.tar.xz
Print out just the filename being compiled/linked, not the full path to it.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@9018 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'Makefile.rules')
-rw-r--r--Makefile.rules24
1 files changed, 12 insertions, 12 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 9c2d74601b..2cb9ea2b79 100644
--- a/Makefile.rules
+++ b/Makefile.rules
@@ -536,15 +536,15 @@ $(LIBNAME_AG): $(ObjectsG) $(LibSubDirs) $(DESTLIBDEBUG)/.dir
# I think that is safe.
#
$(LIBNAME_OBJO): $(ObjectsO) $(LibSubDirs) $(DESTLIBRELEASE)/.dir
- @echo "Linking $@"
+ @echo "Linking `basename $@`"
$(VERB) $(Relink) -o $@ $(RObjectsO) $(LibSubDirs)
$(LIBNAME_OBJP): $(ObjectsP) $(LibSubDirs) $(DESTLIBPROFILE)/.dir
- @echo "Linking $@"
+ @echo "Linking `basename $@`"
$(VERB) $(Relink) -o $@ $(RObjectsP) $(LibSubDirs)
$(LIBNAME_OBJG): $(ObjectsG) $(LibSubDirs) $(DESTLIBDEBUG)/.dir
- @echo "Linking $@"
+ @echo "Linking `basename $@`"
$(VERB) $(Relink) -o $@ $(RObjectsG) $(LibSubDirs)
endif
@@ -650,39 +650,39 @@ endif
# Create .lo files in the ObjectFiles directory from the .cpp and .c files...
$(BUILD_OBJ_DIR)/Release/%.lo: %.cpp $(BUILD_OBJ_DIR)/Release/.dir
- @echo "Compiling $<"
+ @echo "Compiling `basename $<`"
$(VERB) $(CompileO) $< -o $@
$(BUILD_OBJ_DIR)/Release/%.lo: %.c $(BUILD_OBJ_DIR)/Release/.dir
- @echo "Compiling $<"
+ @echo "Compiling `basename $<`"
$(VERB) $(CompileCO) $< -o $@
$(BUILD_OBJ_DIR)/Profile/%.lo: %.cpp $(BUILD_OBJ_DIR)/Profile/.dir
- @echo "Compiling $<"
+ @echo "Compiling `basename $<`"
$(VERB) $(CompileP) $< -o $@
$(BUILD_OBJ_DIR)/Profile/%.lo: %.c $(BUILD_OBJ_DIR)/Profile/.dir
- @echo "Compiling $<"
+ @echo "Compiling `basename $<`"
$(VERB) $(CompileCP) $< -o $@
$(BUILD_OBJ_DIR)/Debug/%.lo: %.cpp $(BUILD_OBJ_DIR)/Debug/.dir
- @echo "Compiling $<"
+ @echo "Compiling `basename $<`"
$(VERB) $(CompileG) $< -o $@
$(BUILD_OBJ_DIR)/Debug/%.lo: %.c $(BUILD_OBJ_DIR)/Debug/.dir
- @echo "Compiling $<"
+ @echo "Compiling `basename $<`"
$(VERB) $(CompileCG) $< -o $@
$(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.cpp $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LCC1XX)
- @echo "Compiling $< to bytecode"
+ @echo "Compiling `basename $<` to bytecode"
$(VERB) $(LLVMGXX) $(CompileWarnings) $(CPPFLAGS) -c $< -o $@
$(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.c $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LCC1)
- @echo "Compiling $< to bytecode"
+ @echo "Compiling `basename $<` to bytecode"
$(VERB) $(LLVMGCC) $(CompileWarnings) $(CPPFLAGS) -c $< -o $@
$(BUILD_OBJ_DIR)/BytecodeObj/%.bc: %.ll $(BUILD_OBJ_DIR)/BytecodeObj/.dir $(LLVMAS)
- @echo "Compiling $< to bytecode"
+ @echo "Compiling `basename $<` to bytecode"
$(VERB) $(LLVMAS) $< -f -o $@