1
0
Fork 0
mirror of https://gitlab.com/sortix/sortix.git synced 2023-02-13 20:55:38 -05:00

Better error handling in /Makefile.

This commit is contained in:
Jonas 'Sortie' Termansen 2011-09-08 21:05:43 +02:00
parent cc61176e5b
commit 371dec71c9

View file

@ -22,11 +22,11 @@ INITRD=sortix/sortix.initrd
all: $(INITRD)
suball:
(for D in $(MODULES); do $(MAKE) all $(MFLAGS) --directory $$D || exit 1; done)
(for D in $(MODULES); do $(MAKE) all $(MFLAGS) --directory $$D || exit $?; done)
clean:
rm -f $(INITRD)
(for D in $(MODULES); do $(MAKE) clean $(MFLAGS) --directory $$D || exit 1; done)
(for D in $(MODULES); do $(MAKE) clean $(MFLAGS) --directory $$D || exit $?; done)
distclean: clean cleanbuilds