Hi,
I want to define text in the Makefile which goes verbatim
into a file, something like
define README
This is readme file.
please *do* read me.
endef
target/readme:
@echo "$(README)" >$@
This of course doesn't work, but is there an equivalent which
is similarly easy to use?
Best
Hi Brian,
Am 17.03.2017 um 17:45 schrieb Brian Cowan :
> I'm chasing down use cases for the $(call and $(eval functions to
> effectively build the makefile from macros in the makefile (or included
> files). I'm looking to stress-test the make tool I support, which supports
> GNU make syntax, but I
Hi Sebastian,
Am 10.05.2017 um 15:46 schrieb Sébastien Hinderer :
> One of the things I do not really know how to deal with is that the main
> Makefile sometimes does things like
> ratget1:
> $(MAKE) -C dir FOO=bar
>
> ...
>
> target2:
>$(MAKE) -C dir FOO=baz
Does this solve you