view mk/subdir.mk @ 14:dfd62aad74f4

note that the test environment hasn't been merged into this tree yet. (from last Feb.)
author David A. Holland
date Mon, 03 Sep 2012 13:41:57 -0400
parents 5f36d8d69aba
children
line wrap: on
line source

TARGETS?=all depend install clean distclean

$(TARGETS): ;

.for _T in $(TARGETS)
.for _D in $(SUBDIRS)
.if $(_D) == .WAIT
$(_T): .WAIT
.else
$(_T)-in-$(_D):
	(cd $(_D) && $(MAKE) $(_T))
$(_T): $(_T)-in-$(_D)
.endif
.endfor
.endfor