Liked
Basic if else statement in Makefile
![](https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded)
Post details
I'm trying to execute a simple if else statement in a Makefile: check: if [ -z "$(APP_NAME)" ]; then \ echo "Empty" \ else \ echo "Not empty" \ fi When I execute make check I get the
![](https://cdn.sstatic.net/Sites/stackoverflow/Img/apple-touch-icon@2.png?v=73d79a89bded)
This post was filed under likes.
Interactions with this post
Interactions with this post
Below you can find the interactions that this page has had using WebMention.
Have you written a response to this post? Let me know the URL:
Do you not have a website set up with WebMention capabilities? You can use Comment Parade.