[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Build systems suck. Can Lua be the basis for a better build system?
- From: Alex Queiroz <asandroq@...>
- Date: Fri, 8 Mar 2013 09:55:07 +0100
On Fri, Mar 8, 2013 at 9:08 AM, Spencer Parkin <firstname.lastname@example.org> wrote:
> define BUILD_OBJ_RULE =
> $(1): $(2)
> $$(CPP) $$(FLAGS) -c $$< -o $$@
> $(foreach src, $(SRCS), $(eval $(call BUILD_OBJ_RULE, $(patsubst %.cpp,
> $(BUILD)/%.o, $(notdir $(src))), $(src))))
> Yikes! Yes, it's ugly and LISPY, but it's also probably embarassing, since
> no real programmer that actually knew what they were doing would write that.
> Moving on!
I write Lisp code and Make make my eyes bleed, so, no.