Makefile中怎麼使用Shell if判斷

/*********************************************************************
 *                Makefile中怎麼使用Shell if判斷
 * 說明:
 *     譬如可能會在Makfile中須要判斷文件、文件夾的存在,使用shell語法
 * 輸出一些信息,等等。
 *
 *                                   2017-8-21 深圳 龍華樟坑村 曾劍鋒
 ********************************************************************/

1、參考文檔:
    1. Test whether a directory exists inside a makefile
        https://stackoverflow.com/questions/20763629/test-whether-a-directory-exists-inside-a-makefile
    
2、解決辦法:
    if a shell command, must be in one line, or be on multiple lines using a backslash for line extension. 
相關文章
相關標籤/搜索