package MakeDependencyWriter; # ************************************************************ # Description : Generates generic Makefile dependencies. # Author : Chad Elliott # Create Date : 2/10/2002 # ************************************************************ # ************************************************************ # Pragmas # ************************************************************ use strict; use DependencyWriter; use vars qw(@ISA); @ISA = qw(DependencyWriter); # ************************************************************ # Subroutine Section # ************************************************************ sub process { my($objects) = $_[1]; my($files) = $_[2]; ## Sort the dependencies to make them reproducible return "@$objects: \\\n " . join(" \\\n ", sort @$files) . "\n"; } 1;