This may help unconfuse people using this as an example.
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
SUBDIRMK_SUBDIRS([lib])
SUBDIRMK_SUBDIRS([lib/t src])
+# This is a hook for subdirmk's test suite.
if test -f $srcdir/lib/for-test.mk.in; then
SUBDIRMK_MAKEFILES([lib/for-test.mk])
fi
&libtoy.a: $(&OBJECTS)
$(AR) rc $@ $^
+# This is a hook for subdirmk's test suite.
-include &^/lib/for-test.mk
&toy: $(&OBJECTS) $(&LIBS)
$(LINK) $^
+# This is a hook for subdirmk's test suite.
&:-include src/for-test.sd.mk