awips2/ncep/gov.noaa.nws.ncep.viz.rsc.ncgrid/dgdriv_c/subdirs.mk
Steve Harris 8485b90ff8 12.4.1-10 baseline
Former-commit-id: bf53d06834caa780226121334ac1bcf0534c3f16
2012-05-01 18:06:13 -05:00

36 lines
1 KiB
Makefile

.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
#