blob: c3274cd3aeede392cd02deb9043a7a3273d52778 [file] [log] [blame]
include ../build/colors.mk
MODULES=$(shell ls . | grep "[^(Makefile)]")
all clean:
@for dir in $(MODULES); do \
(cd $$dir; if [ -e "SKIP" ]; then echo $${MY_LRED:-$(LRED)}"skipping \"make $@\" for $$dir"; else ${MAKE} $@; fi); \
if [ "$$?" -ne "0" ]; then ERROR=$$?; echo "Error Code $$ERROR"; exit $$ERROR; fi; \
echo -n $(OFF)$(NO_COLOR); \
done