[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Makefile
- From: Luiz Henrique de Figueiredo <lhf@...>
- Date: Tue, 15 Jun 2010 09:28:50 -0300
I didn't get much feedback from my posting about Makefile targets:
http://lua-users.org/lists/lua-l/2010-05/msg00353.html
Now I'm privately considering whether we need a top-level Makefile at
all: it's merely an executable documentation of which files normally go
where but it's not essential to building or even installing Lua. Users
of the Lua interpreter need to install only one file. Developers need a
handful more. Both audiences know where they want to put those files, so
we could just leave the decision of where and how to install the needed
files to them! Or to downstream packagers.
The situation of src/Makefile is slightly different: it is an executable
documentation of which files depend on which (which gcc can generate)
and of which flags work in which platforms (which is a pain to discover
if you don't know). But src/Makefile is not really needed if you only
want to build the Lua interpreter: use etc/all.c (or etc/one.c in 5.2).
Again, my motivation is to have the simplest possible files that are
helpful but not a source of noise. So perhaps we can simplify the Makefiles
and still be useful without being in the way of users and packagers.
Quick poll: you know and use the Makefile targets below?
Makefile:
all clean test install uninstall local none echo pecho lecho
src/Makefile:
default all o a clean depend echo none
aix ansi bsd freebsd generic linux macosx mingw posix solaris
All feedback welcome.
- Follow-Ups:
- Re: Makefile, Tony Finch
- Re: Makefile, David Burgess
- RE: Makefile, Richter, Jörg
- Re: Makefile, David Given
- Re: Makefile, Patrick Donnelly
- Re: Makefile, GrayFace
- Re: Makefile, Thomas Fletcher
- Re: Makefile, Michal Kottman
- Re: Makefile, Geoff Leyland
- Re: Makefile, Tom N Harris
- Re: Makefile, M Joonas Pihlaja
- Re: Makefile, Miles Bader