/********************************************************************** Makefile中怎么使用Shell if判断* 说明:* 譬如可能会在Makfile中需要判断文件、文件夹的存在,使用shell语法* 输出一些信息,等等。** 2017-8-21 深圳 龙华樟坑村 曾剑锋********************************************************************/一、参考文档:1. Test whether a directory exists inside a makefilehttps://stackoverflow.com/questions/20763629/test-whether-a-directory-exists-inside-a-makefile 二、解决办法:if a shell command, must be in one line, or be on multiple lines using a backslash for line extension.