[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 04:59:53 +0200 (EET)
hm, that's true. But this works: :)
src/lua: src/*.h src/*.c
$(MAKE) $(PLAT)
install: src/lua
Doing that,
make install PLAT=macosx
both builds and installs, or gives the "friendly" error message if just "make install".
-asko
Lainaus Mike Pall <mikelu-0601@mike.de>:
> Hi,
>
> askok@dnainternet.net wrote:
> > 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..? :)
>
> Try it:
>
> $ make install
> cc src/lua.c -o src/lua
> /tmp/ccbkZmVc.o: In function `lstop':
> lua.c:(.text+0x25): undefined reference to `lua_sethook'
> [... dozens of errors omitted ...]
>
> This means make ignores src/Makefile and resorts to default
> rules (which are not sufficient).
>
> 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
- Re: Lua 5.1 (final,rc) now available, askok
- Re: Lua 5.1 (final,rc) now available, Mike Pall