initial commit
[otp-base.git] / lib / Makefile
blob4e3bfda6d2ccd4e9d5fb46da011c20035f5d9f6d
1 include ../build/colors.mk
3 MODULES=$(shell ls . | grep "[^(Makefile)]")
5 all clean docs:
6 @for dir in $(MODULES); do \
7 (cd $$dir; if [ -e "SKIP" ]; then echo $${MY_LRED:-$(LRED)}"skipping \"make $@\" for $$dir"; else ${MAKE} $@; fi); \
8 if [ "$$?" -ne "0" ]; then ERROR=$$?; echo "Error Code $$ERROR"; exit $$ERROR; fi; \
9 echo -n $(OFF)$(NO_COLOR); \
10 done