makefile中使用source,报错"source Command not found”

makefile的默认shell是/bin/sh,本身是不支持source

 

可以将shell切换成/bin/csh来支持source

如下所示:
#Makefile

SHELL := /bin/csh

posted @ 2021-09-23 21:08  DarkRuler  阅读(1015)  评论(0)    收藏  举报