2008/3/19, Will Coleda via RT <[EMAIL PROTECTED]>:
> On Sat Jan 26 10:03:34 2008, coke wrote:
>  > On Mon Jan 14 11:26:27 2008, coke wrote:
>  > > In the top level directory, type:
>  > >
>  > > 'make perl6'
>  > >
>  > > a perl6 binary is created.
>  > >
>  > > now type "make perl6" again, and the binary is regenerated from the
>  > > step "./pbc_to_exe languages/perl6/perl6.pbc" on, despite the fact
>  > > that nothing has changed.
>  > >
>  > > The perl6 target in languages/perl6 works as expected over multiple
>  > > invocations.
>  > >
>  >
>  > This seems to be resolved, however, building perl6 now gives the
>  > following make warning:
>  >
>  > make: Circular perl6 <- perl6 dependency dropped.
>  >
>  >
>
>  This seems to be because we have both:
>
>  perl6:
>
>  and
>
>  PERL6               = $(CUR_DIR)/perl6$(EXE)
>  $(PERL6) : compilers $(PBC_TO_EXE)
>
>  ... So on windows, I'm guessing that both perl6 and perl6.exe work as 
> targets with no
>  warnings, but on unixy platforms, we get the warning.
>
>  I would vote for requiring "perl6.exe" as the make target on windows, which 
> is how it's done
>  in languages/perl6.
I like the idea of make perl6 only on windows.
make perl6.exe is just a file, make perl6 is a whole new world :)

One could

ifdef WINDIR
perl6 : $(PERL6)
endif

for the GNU-style makefile on cygwin
and with the appropriate nmake syntax on MSWin32

-- 
Reini Urban
http://phpwiki.org/              http://murbreak.at/

Reply via email to