[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Build systems suck. Can Lua be the basis for a better build system?
- From: Owen Shepherd <owen.shepherd@...>
- Date: Fri, 8 Mar 2013 10:04:15 +0000
Gnu make syntax could be described as, if anything, Tcl syntax! In both languages everything is a string
On 8 Mar 2013 10:00, "Alex Queiroz" <email@example.com
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.