summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOndrej Zajicek <santiago@crfreenet.org>2015-07-18 23:15:04 +0200
committerOndrej Zajicek <santiago@crfreenet.org>2015-07-18 23:15:04 +0200
commita8ad8fd6491d04620fe4fdebc50f0da2927f9b21 (patch)
tree726ccd47928d250c6daf493a27072c5520d4fd64
parent17661ff934a80d517284c96756357d4ed5af9a64 (diff)
Simplify build messages
Thanks to Christian Tacke for the original patch.
-rw-r--r--tools/Makefile.in9
-rw-r--r--tools/Rules.in6
2 files changed, 10 insertions, 5 deletions
diff --git a/tools/Makefile.in b/tools/Makefile.in
index 062ba916..01bb7a7c 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -37,13 +37,16 @@ subdir: sysdep/paths.h .dir-stamp .dep-stamp
set -e ; for a in $(static-dirs) $(client-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done
$(exedir)/bird: $(bird-dep)
- $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+ @echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
+ @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
$(exedir)/birdc: $(birdc-dep)
- $(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
+ @echo LD $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
+ @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS) $(CLIENT_LIBS)
$(exedir)/birdcl: $(birdcl-dep)
- $(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
+ @echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
+ @$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
.dir-stamp: sysdep/paths.h
mkdir -p $(static-dirs) $(client-dirs) $(doc-dirs)
diff --git a/tools/Rules.in b/tools/Rules.in
index ca930ec8..f00c85d1 100644
--- a/tools/Rules.in
+++ b/tools/Rules.in
@@ -68,12 +68,14 @@ subdir: all.o
all.o: $(objs)
# $(LD) -r -o $@ $^
# Changed to $(CC) because $(LD) has problems with crosscompiling
- $(CC) -nostdlib -r -o $@ $^
+ @echo LD -r -o $@ $^
+ @$(CC) -nostdlib -r -o $@ $^
endif
%.o: $(src-path)%.c
- $(CC) $(CFLAGS) -o $@ -c $<
+ @echo CC -o $@ -c $<
+ @$(CC) $(CFLAGS) -o $@ -c $<
ifndef source-dep
source-dep := $(source)