Make: break directly on compile warning
This commit is contained in:
parent
2831be4153
commit
2d709378f7
4 changed files with 21 additions and 7 deletions
|
|
@ -86,10 +86,10 @@ checkinstall:
|
|||
|
||||
# May cause circular include->include,lib
|
||||
$(SUBDIRS2): $(SUBDIRS1) # Cannot build app before lib (for parallel make -j)
|
||||
(cd $@ && $(MAKE) $(MFLAGS) all)
|
||||
(cd $@ && $(MAKE) $(MFLAGS) all || exit 1)
|
||||
|
||||
$(SUBDIRS1):
|
||||
(cd $@ && $(MAKE) $(MFLAGS) all)
|
||||
(cd $@ && $(MAKE) $(MFLAGS) all || exit 1)
|
||||
|
||||
depend:
|
||||
for i in $(SUBDIRS) doc example docker; \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue