lua-users home
lua-l archive

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


On Fri, Mar 08, 2013 at 02:39:39PM +0000, David Given wrote:
> ...and I do 'make debug release', then foo.o and bar.o are built using
> the value of CFLAGS which got to them first --- in this case, CFLAGS=-g.
> Which means that release will be linked against the debug version of the
> files! I don't even want to think about what happens in parallel builds.

Ok ok, the semantics is not nice here.  But you are shooting yourself in
the foot.  Just call make twice.  I've never called make with more than
one target, I think you can survive too ;-)

Cheers
-- 
Enrico Tassi