Commit e0bcb4f5 authored by Bob Halley's avatar Bob Halley
Browse files

when dealing with subdirs, do not print messsages if the directory is nulldir

parent 38d2d0e9
......@@ -34,15 +34,15 @@ all: ${SUBDIRS} ${TARGETS}
ALL_SUBDIRS = ${SUBDIRS} nulldir
${ALL_SUBDIRS}: FORCE
@echo "making all in `pwd`/$@"
@if [ "$@" != "nulldir" -a -d $@ ]; then \
echo "making all in `pwd`/$@"; \
(cd $@; ${MAKE} ${MAKEDEFS} all); \
fi
install depend clean distclean::
@for i in ${ALL_SUBDIRS}; do \
echo "making $@ in `pwd`/$$i"; \
if [ "$$i" != "nulldir" -a -d $$i ]; then \
echo "making $@ in `pwd`/$$i"; \
(cd $$i; ${MAKE} ${MAKEDEFS} $@); \
fi \
done
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment