On Fri, 2011-10-21 at 23:53 -0700, Mark Galeck (CW) wrote: > .SECONDARY: %/. > > If I replace ".SECONDARY" with ".PRECIOUS", then everything works > fine.
Check the docs: .PRECIOUS accepts a pattern as a target, and applies to all targets that match that pattern. .SECONDARY does not accept a pattern as a target, so your .SECONDARY rule is declaring the target named, literally, "%/." as secondary. "subdir/." is not "%/." so your .SECONDARY rule doesn't apply to it. -- ------------------------------------------------------------------------------- Paul D. Smith <[email protected]> Find some GNU make tips at: http://www.gnu.org http://make.mad-scientist.net "Please remain calm...I may be mad, but I am a professional." --Mad Scientist _______________________________________________ Help-make mailing list [email protected] https://lists.gnu.org/mailman/listinfo/help-make
