sub MY::postamble { ' $(MYEXTLIB): mylib/Makefile cd mylib && $(MAKE) $(PASSTHRU) '; } #### sub MY::postamble { <<'EXA'; mylib/Makefile: mylib/Makefile.PL echo "ZZZZZZZZ" cd mylib && perl Makefile.PL $(MYEXTLIB): mylib/Makefile echo "XXXXXXXXXXXXX pass is '$(PASSTHRU)' for GNU make, this tells me the target to pass thru '$(MAKECMDGOALS)'" cd mylib && $(MAKE) $(PASSTHRU) EXA