all: FORCE
@echo "making all in `$(PWD)`"
@for i in *; do \
- if [ -d $$i -a $$i != "CVS" ]; then \
+ if [ -d $$i -a $$i != "CVS" -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \
( cd $$i; $(MAKE) $(MFLAGS) all ); \
fi; \
install: FORCE
@echo "making install in `$(PWD)`"
@for i in *; do \
- if [ -d $$i -a $$i != "CVS" ]; then \
+ if [ -d $$i -a $$i != "CVS" -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \
( cd $$i; $(MAKE) $(MFLAGS) install ); \
fi; \
clean: FORCE
@echo "making clean in `$(PWD)`"
@for i in *; do \
- if [ -d $$i -a $$i != "CVS" ]; then \
+ if [ -d $$i -a $$i != "CVS" -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
fi; \
depend: FORCE
@echo "making depend in `$(PWD)`"
@for i in *; do \
- if [ -d $$i -a $$i != "CVS" ]; then \
+ if [ -d $$i -a $$i != "CVS" -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
fi; \
lint: FORCE
@echo "making lint in `$(PWD)`"
@for i in *; do \
- if [ -d $$i -a $$i != "CVS" ]; then \
+ if [ -d $$i -a $$i != "CVS" -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) lint"; \
( cd $$i; $(MAKE) $(MFLAGS) lint ); \
fi; \
5lint: FORCE
@echo "making 5lint in `$(PWD)`"
@for i in *; do \
- if [ -d $$i -a $$i != "CVS" ]; then \
+ if [ -d $$i -a $$i != "CVS" -a -f $$i/Makefile ]; then \
echo; echo " cd $$i; $(MAKE) $(MFLAGS) 5lint"; \
( cd $$i; $(MAKE) $(MFLAGS) 5lint ); \
fi; \