Simplify build messages
Thanks to Christian Tacke for the original patch.
This commit is contained in:
parent
17661ff934
commit
a8ad8fd649
2 changed files with 10 additions and 5 deletions
|
@ -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
|
set -e ; for a in $(static-dirs) $(client-dirs) ; do $(MAKE) -C $$a -f $(srcdir_abs)/$$a/Makefile $@ ; done
|
||||||
|
|
||||||
$(exedir)/bird: $(bird-dep)
|
$(exedir)/bird: $(bird-dep)
|
||||||
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
@echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
@$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
$(exedir)/birdc: $(birdc-dep)
|
$(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)
|
$(exedir)/birdcl: $(birdcl-dep)
|
||||||
$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
@echo LD $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
@$(CC) $(LDFLAGS) -o $@ $^ $(LIBS)
|
||||||
|
|
||||||
.dir-stamp: sysdep/paths.h
|
.dir-stamp: sysdep/paths.h
|
||||||
mkdir -p $(static-dirs) $(client-dirs) $(doc-dirs)
|
mkdir -p $(static-dirs) $(client-dirs) $(doc-dirs)
|
||||||
|
|
|
@ -68,12 +68,14 @@ subdir: all.o
|
||||||
all.o: $(objs)
|
all.o: $(objs)
|
||||||
# $(LD) -r -o $@ $^
|
# $(LD) -r -o $@ $^
|
||||||
# Changed to $(CC) because $(LD) has problems with crosscompiling
|
# Changed to $(CC) because $(LD) has problems with crosscompiling
|
||||||
$(CC) -nostdlib -r -o $@ $^
|
@echo LD -r -o $@ $^
|
||||||
|
@$(CC) -nostdlib -r -o $@ $^
|
||||||
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
%.o: $(src-path)%.c
|
%.o: $(src-path)%.c
|
||||||
$(CC) $(CFLAGS) -o $@ -c $<
|
@echo CC -o $@ -c $<
|
||||||
|
@$(CC) $(CFLAGS) -o $@ -c $<
|
||||||
|
|
||||||
ifndef source-dep
|
ifndef source-dep
|
||||||
source-dep := $(source)
|
source-dep := $(source)
|
||||||
|
|
Loading…
Reference in a new issue