/********************************************************************** 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.
?