Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
labs
BIRD Internet Routing Daemon
Commits
a8ad8fd6
Commit
a8ad8fd6
authored
Jul 18, 2015
by
Ondřej Zajíček
Browse files
Simplify build messages
Thanks to Christian Tacke for the original patch.
parent
17661ff9
Changes
2
Hide whitespace changes
Inline
Side-by-side
tools/Makefile.in
View file @
a8ad8fd6
...
...
@@ -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
)
...
...
tools/Rules.in
View file @
a8ad8fd6
...
...
@@ -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)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment