Follow-up Comment #3, bug #59956 (project make):

Thanks for the even more detailed explanation than on Stack Overflow :)
I didn't realize special targets like *.ONESHELL:* can also have a recipe.
 
As a clarification, when I mentioned *.RECIPEPREFIX:* I was also implying
actually using it in the recipe:


.ONESHELL:
.RECIPEPREFIX = >
ifeq (1,0)
test:
>@if [ "asd" == "123" ]; then
>       echo "true"
>else
>       echo "false"
>fi
endif


I guess *>else* is not seen as a valid token and that's why it works.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?59956>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/


Reply via email to