[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:49:06 +0200 (EET)
Am I missing something obvious, what's wrong with:
install: src/lua
That is, make the install target depend on the executable (which, should be dependent on the source
files). Surely, I'm missing something..? :)
-asko
Lainaus Mike Pall <mikelu-0601@mike.de>:
> Hi,
>
> Luiz Henrique de Figueiredo wrote:
> > 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".
>
> Ok, another try:
>
> # Timestamp file
> STAMP = stamp
>
> $(PLATS):
> @rm -f $(STAMP)
> cd src; $(MAKE) $@
> @echo "timestamp" >$(STAMP)
>
> clean:
> @rm -f $(STAMP)
> cd src; $(MAKE) $@
>
> $(STAMP):
> @$(MAKE) $(PLAT)
>
> none:
> @echo "Please choose a platform: $(PLATS)"
> @exit 1
>
> install: $(STAMP)
> ...
>
> test: $(STAMP)
> ...
>
> Bye,
> Mike
>
- 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
- Re: Lua 5.1 (final,rc) now available, Mike Pall