$(RECURSIVE):
for subdir in $(SUBDIRS); do \
- echo making $@ in $$subdir; \
- (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`) \
+ target=`echo $@ | sed s/-recursive//`; \
+ echo making $$target in $$subdir; \
+ (cd $$subdir; $(MAKE) $$target) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
- done && test -z "$$fail"
+ done && test -z "$$fail" \
mostlyclean: mostlyclean-recursive mostlyclean-local
$(RECURSIVE):
for subdir in $(SUBDIRS); do \
- echo making $@ in $$subdir; \
- (cd $$subdir; $(MAKE) `echo $@ | sed s/-recursive//`) \
+ target=`echo $@ | sed s/-recursive//`; \
+ echo making $$target in $$subdir; \
+ (cd $$subdir; $(MAKE) $$target) \
|| case "$(MFLAGS)" in *k*) fail=yes;; *) exit 1;; esac; \
- done && test -z "$$fail"
+ done && test -z "$$fail" \
mostlyclean: mostlyclean-recursive mostlyclean-local