lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On Tue, 15 Jun 2010, Luiz Henrique de Figueiredo wrote:

> Quick poll: you know and use the Makefile targets below?
> 
> Makefile:
> 	all clean test install uninstall local none echo pecho lecho

Use: clean, install, uninstall.

Instead of local I just execute src/lua or src/luac directly.  Please 
keep uninstall too if you decide to keep the install target.

> src/Makefile:
> 	default all o a clean depend echo none
> 	aix ansi bsd freebsd generic linux macosx mingw posix solaris

Use: clean ansi generic linux freebsd bsd solaris posix

I can't quite recall why I needed the generic target once.  I also 
keep a separate lua interpreter for debugging on linux which has 
readline support disabled, is compiled with -O0 -g, linked with 
-lpthread, and the call to dlclose() removed.  These modifications 
help gdb and valgrind when I'm debuging C modules dlopened() via 
require.

Joonas