Former-commit-id:fda897d2d0
[formerly253e8bc948
] [formerlyfda897d2d0
[formerly253e8bc948
] [formerly295cbf95e5
[formerly 0816cd253c86acc699cb90866131619c4679f631]]] Former-commit-id:295cbf95e5
Former-commit-id:2a3bf4ec32
[formerlyae3d17c698
] Former-commit-id:a610dcde73
36 lines
1 KiB
Makefile
Executable file
36 lines
1 KiB
Makefile
Executable file
.PHONY: $(TARGETS) $(SUBDIRS)
|
|
#################################################################
|
|
# #
|
|
# PLEASE DO NOT MODIFY THIS FILE. #
|
|
# #
|
|
# subdirs.mk #
|
|
# #
|
|
# SUBPATH is $(CURDIR) unless it is defined in the #
|
|
# GNUmakefile. #
|
|
# TARGETS are (all check clean distclean link) unless #
|
|
# they are defined in the GNUmakefile. #
|
|
# SUBDIRS are all sub directories except 'test*' unless #
|
|
# they are defined in the GNUmakefile. #
|
|
# #
|
|
#################################################################
|
|
|
|
SUBPATH ?= $(CURDIR)
|
|
TARGETS ?= all check clean distclean link
|
|
SUBDIRS ?= $(filter-out test%, $(filter %/, $(shell ls -F $(SUBPATH))))
|
|
|
|
$(TARGETS):: $(SUBDIRS)
|
|
|
|
$(SUBDIRS)::
|
|
@echo ""
|
|
@echo "================================================================================"
|
|
@echo ""
|
|
@echo " $(MAKECMDGOALS) -- $@ --"
|
|
@echo ""
|
|
@echo "================================================================================"
|
|
@echo ""
|
|
@$(MAKE) -C $(SUBPATH)/$@ $(MAKECMDGOALS)
|
|
@sleep 1
|
|
|
|
#
|
|
# End of subdirs.mk
|
|
#
|