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" <
asandroq@gmail.com> wrote:
On Fri, Mar 8, 2013 at 9:08 AM, Spencer Parkin <spencer.parkin@gmail.com> wrote:
>
> define BUILD_OBJ_RULE =
> $(1): $(2)
> $$(CPP) $$(FLAGS) -c $$< -o $$@
> endef
> $(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.
--
-alex
http://unendli.ch/