1998-10-25 09:41:42 +08:00
|
|
|
##---------------------------------------------------------------------------
|
|
|
|
##
|
|
|
|
## Makes subdirectories
|
|
|
|
##
|
|
|
|
|
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
all-common: FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
@echo "Making all in `$(PWD)`"
|
|
|
|
@for i in $(SUBDIRS) $(ALLDIRS); do \
|
|
|
|
echo " Entering subdirectory $$i"; \
|
|
|
|
( cd $$i; $(MAKE) $(MFLAGS) all ); \
|
|
|
|
echo " "; \
|
|
|
|
done
|
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
install-common: FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
@echo "Making install in `$(PWD)`"
|
|
|
|
@for i in $(SUBDIRS) $(INSTALLDIRS); do \
|
|
|
|
echo " Entering subdirectory $$i"; \
|
|
|
|
( cd $$i; $(MAKE) $(MFLAGS) install ); \
|
|
|
|
echo " "; \
|
|
|
|
done
|
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
clean-common: FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
@echo "Making clean in `$(PWD)`"
|
|
|
|
@for i in $(SUBDIRS) $(CLEANDIRS); do \
|
|
|
|
echo " Entering subdirectory $$i"; \
|
|
|
|
( cd $$i; $(MAKE) $(MFLAGS) clean ); \
|
|
|
|
echo " "; \
|
|
|
|
done
|
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
veryclean-common: FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
@echo "Making veryclean in `$(PWD)`"
|
|
|
|
@for i in $(SUBDIRS) $(CLEANDIRS); do \
|
|
|
|
echo " Entering subdirectory $$i"; \
|
|
|
|
( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \
|
|
|
|
echo " "; \
|
|
|
|
done
|
|
|
|
|
1998-11-22 12:22:28 +08:00
|
|
|
depend-common: FORCE
|
1998-10-25 09:41:42 +08:00
|
|
|
@echo "Making depend in `$(PWD)`"
|
|
|
|
@for i in $(SUBDIRS) $(DEPENDDIRS); do \
|
|
|
|
echo " Entering subdirectory $$i"; \
|
|
|
|
( cd $$i; $(MAKE) $(MFLAGS) depend ); \
|
|
|
|
echo " "; \
|
|
|
|
done
|
|
|
|
|
|
|
|
Makefile: $(top_srcdir)/build/dir.mk
|