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)