summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-03-05 17:50:49 -0800
committerStephen Hemminger <shemminger@linux-foundation.org>2007-03-05 17:50:49 -0800
commit95dd5950491a4f60265494969731c019fcd7f9bc (patch)
tree4c9d3d60fda79628de281e544156b3b85dba8083 /Makefile
parent892db6942ae0f5f7295b54be8d924020e99a51fc (diff)
do not ignore build failures in subdirs of iproute2
if a file fails to compile in a subdir of iproute2 fails (say "tunnel.c" in the "ip" dir), the top level makefile does not abort: all: Config @for i in $(SUBDIRS); \ do $(MAKE) $(MFLAGS) -C $$i; done the attached patch inserts a 'set -e' so that if the $(MAKE) fails, the all target fails as well -mike
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 3fc3a155..dbcb249a 100644
--- a/Makefile
+++ b/Makefile
@@ -32,7 +32,8 @@ SUBDIRS=lib ip tc misc netem genl
LIBNETLINK=../lib/libnetlink.a ../lib/libutil.a
all: Config
- @for i in $(SUBDIRS); \
+ @set -e; \
+ for i in $(SUBDIRS); \
do $(MAKE) $(MFLAGS) -C $$i; done
Config: