# NOTE: Derived from lib/Zoidberg/Fish/Intel.pm.
# Changes made here will be lost when autosplit is run again.
# See AutoSplit.pm.
package Zoidberg::Fish::Intel;

#line 439 "lib/Zoidberg/Fish/Intel.pm (autosplit into blib/lib/auto/Zoidberg/Fish/Intel/i_cmd_make.al)"
sub i_cmd_make { # TODO vars etc. -- see http://www.gnu.org/software/make/manual/make.html
	my ($self, $block) = @_;
	my ($mfile) = sort grep /makefile/i, list_dir();
	$$block[0]{poss} = [];
	debug "reading $mfile";
	open MFILE, $mfile;
	while (<MFILE>) {
		/^(\Q$$block[-1]\E\S*?)\s*:/ or next;
		push @{$$block[0]{poss}}, $1;
	}
	close MFILE;
	return $block;
}

# end of Zoidberg::Fish::Intel::i_cmd_make
1;
