Remove a couple of rogue make targets for `osx.icns.o' and
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 13 Jan 2007 12:03:42 +0000 (12:03 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Sat, 13 Jan 2007 12:03:42 +0000 (12:03 +0000)
`osx-info.plist.o' which had crept into most of the Makefiles.

git-svn-id: svn://svn.tartarus.org/sgt/puzzles@7099 cda61777-01e9-0310-a592-d414129be87e

mkfiles.pl

index cefd365..52c9a74 100755 (executable)
@@ -414,6 +414,8 @@ sub deps {
       ($x = $otmpl) =~ s/X/$i/;
     }
     @deps = @{$depends{$ii}};
+    # Skip things which are their own dependency.
+    next if grep { $_ eq $i } @deps;
     @deps = map {
       $_ = &findfile($_);
       s/\//$dirsep/g;