[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Build systems suck. Can Lua be the basis for a better build system?
- From: Enrico Tassi <gares@...>
- Date: Fri, 8 Mar 2013 21:16:23 +0100
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