Following fbcaf61123069fe4, remove perlmain.c from the initial list of C files.
authorNicholas Clark <nick@ccl4.org>
Mon, 29 Nov 2010 19:19:21 +0000 (19:19 +0000)
committerNicholas Clark <nick@ccl4.org>
Mon, 29 Nov 2010 19:24:14 +0000 (19:24 +0000)
commita812f6a926c0966af8d2a9a3d2d05fe1a5df510f
tree199a940e0c7e7b9bafaf55878970d936b0b95b59
parentbca52ca1d767654670429383dea23f9af89ab5ea
Following fbcaf61123069fe4, remove perlmain.c from the initial list of C files.

Otherwise miniperl gets built by ./makedepend, as it calls `make clist`,
clist depends on the initial list of C files, and perlmain.c has rules to
(re)build it which depend on miniperl.

There is no dependency problem with removing perlmain.c from the list of C
files, and hence the list of files for which makefile dependency rules are
generated, as its (new) dependency on miniperl means that it will always be
rebuilt if miniperl is rebuilt, and in turn miniperl will always be rebuilt
it miniperlmain.o is out of date. perlmain.o has the same dependencies as
miniperlmain.o, so the requirement to rebuild is always satisfied.

Thanks to Florian Ragwitz for spotting this problem.
Makefile.SH