Make: break directly on compile warning

This commit is contained in:
Olof hagsand 2025-01-23 12:21:12 +01:00
parent 2831be4153
commit 2d709378f7
4 changed files with 21 additions and 7 deletions

View file

@ -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; \