[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Lua 5.1 (final,rc) now available
- From: askok@...
- Date: Wed, 25 Jan 2006 03:44:25 +0200 (EET)
I would second adding .PHONY to the makefile.
- it's certainly Good Manners where supported
- where not, it does not hurt either (= does no worse than not having that line)
.asko
Lainaus Luiz Henrique de Figueiredo <lhf@tecgraf.puc-rio.br>:
> > What about:
> >
> > .PHONY: $(PLATS) clean test install local none echo pecho lecho newer
> >
> > Not sure how portable this is.
>
> Yes, I know about .PHONY but I'm not betting on it being portable.
> The solution I've found is this:
>
> test: dummy
> ...
>
> install: dummy
> ...
>
> # make may get confused with test/ and INSTALL in a case-insensitive OS
>
> dummy:
>
> Unless you have a file called "dummy", it should work...
>
> I still don't know how to make sure that Lua has been built before you
> can
> run make test or make install, but at least now "make test" without
> having
> built Lua will give an error. Ditto for "make install".
> --lhf
>
- References:
- Lua 5.1 (final,rc) now available, Luiz Henrique de Figueiredo
- Re: Lua 5.1 (final,rc) now available, Luiz Henrique de Figueiredo
- Re: Lua 5.1 (final,rc) now available, PA
- Re: Lua 5.1 (final,rc) now available, Luiz Henrique de Figueiredo
- Re: Lua 5.1 (final,rc) now available, Mike Pall
- Re: Lua 5.1 (final,rc) now available, Luiz Henrique de Figueiredo