File: recur.mk

package info (click to toggle)
discover 2.1.2-7.1+deb9u1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 6,248 kB
  • sloc: sh: 8,115; ansic: 7,275; xml: 1,809; makefile: 732
file content (10 lines) | stat: -rw-r--r-- 239 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
# $Progeny$

__recur:
	@for dir in ${SUBDIR}; do					\
		echo "${TARGET} ===> ${_THISDIR_}$${dir}";		\
		cd "$${dir}" &&						\
		${MAKE} "_THISDIR_=${_THISDIR_}$${dir}/" ${TARGET}	\
			|| exit $$?;					\
		cd ${abs_builddir};					\
	done