aboutsummaryrefslogtreecommitdiff
path: root/Makefile.include.in
diff options
context:
space:
mode:
authorJoakim Plate <elupus@ecce.se>2011-10-15 17:41:21 +0200
committerJoakim Plate <elupus@ecce.se>2011-10-15 18:23:04 +0200
commit5b351f26fc4d4a84493d748f4c9113ce806c1f7e (patch)
tree1be285f6a67713ecead2abe3734d7ba4acced0b5 /Makefile.include.in
parent500f762bdc4d120f7e096787b2f39877aadc1994 (diff)
changed: reduce some of the entering / leaving directory clutter during make
Diffstat (limited to 'Makefile.include.in')
-rw-r--r--Makefile.include.in15
1 files changed, 8 insertions, 7 deletions
diff --git a/Makefile.include.in b/Makefile.include.in
index 8d41cf980c..b70245d1f9 100644
--- a/Makefile.include.in
+++ b/Makefile.include.in
@@ -4,6 +4,7 @@ RM=rm -rf
SHELL=@SHELL@
ARCH=@ARCH@
abs_top_srcdir=@abs_top_srcdir@
+rel_top_srcdir=$(subst $(abspath $(abs_top_srcdir))/,,$(abspath $(CURDIR))/)
prefix=@prefix@
exec_prefix=@exec_prefix@
bindir=@bindir@
@@ -58,13 +59,13 @@ ifeq ($(ARCH), powerpc-osx)
endif
ifneq ($(V), 1)
- SILENT_CPP=@echo "CPP $@";
- SILENT_CC =@echo "CC $@";
- SILENT_S =@echo "S $@";
- SILENT_GCH=@echo "GCH $@";
- SILENT_MM =@echo "MM $@";
- SILENT_AR =@echo "AR $@";
- SILENT_LD =@echo "LD $@";
+ SILENT_CPP=@echo "CPP $(rel_top_srcdir)$@";
+ SILENT_CC =@echo "CC $(rel_top_srcdir)$@";
+ SILENT_S =@echo "S $(rel_top_srcdir)$@";
+ SILENT_GCH=@echo "GCH $(rel_top_srcdir)$@";
+ SILENT_MM =@echo "MM $(rel_top_srcdir)$@";
+ SILENT_AR =@echo "AR $(rel_top_srcdir)$@";
+ SILENT_LD =@echo "LD $(rel_top_srcdir)$@";
endif
OBJS+=$(filter %.o,$(SRCS:.cpp=.o))