Hello all, I'm rookie with gnu make and I have a question; I'm doing a
Makefile like this:
#!/bin/bash
# Makefile
IMPORT_PATH := github.com/...
CHECK := 0
.PHONY: install
install:
$Q printf "\\nLet's install..."
# $Q export CHECK=0
$Q if grep -q \!string "$(DIR)" ; th
Hi Ignacio,
I think you are trying to assign to a make variable from a command in
a recipe. You can't do that, sorry. Consider that each line in a
recipe runs in a separate shell: it cannot change variables in it's
parent make process or even set shell variables for other lines in the
same recipe.
Hi
On 31 May 2017 at 14:28, icvallejo
wrote:
> Hello all, I'm rookie with gnu make and I have a question; I'm doing a
> Makefile like this:
>
> #!/bin/bash
>
^ This doesn't make any sense - this is not a bash script.
> # Makefile
>
> IMPORT_PATH := github.com/...
> CHECK := 0
>
> .PHONY: i