生成错误:循环 filex <- filey 依赖项已删除
我正在使用 make
文件目标从服务器复制两种类型的输入(.y 和 .yuv)。
我想从服务器位置复制 ../input 文件夹中的灰色图像和 yuv 图像。
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
# Gray scale images
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
VID_INPUT_YUV_PATH = ../input
VID_INPUT_GRAYIMG_FILES = \
inputGray0.y \
inputGray1.y
VID_INPUTGRAY = $(addprefix $(VID_INPUT_YUV_PATH)/, $(VID_INPUT_GRAYIMG_FILES))
VID_INPUTGRAY_NOCLEAN = $(addprefix -e , $(VID_INPUTGRAY))
vpath %.y server:/stddataset/ped server:/stddataset/car
.PRECIOUS: $(VID_INPUT_YUV_PATH)/%
$(VID_INPUT_YUV_PATH)/% : %
mkdir -p $(VID_INPUT_YUV_PATH)
scp server:$^ $@
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
# YUV images
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++#
VID_INPUT_YUV_FILES = \
inputYuv0.yuv \
inputYuv1.yuv \
inputYuv2.yuv \
inputYuv3.yuv
VID_INPUT_YUV = $(addprefix $(VID_INPUT_YUV_PATH)/, $(VID_INPUT_YUV_FILES))
VID_INPUT_NOCLEAN = $(addprefix -e , $(VID_INPUT_YUV))
$(VID_INPUT_YUV) : $(VID_INPUTGRAY) $(VID_INPUT_YUV)
.PRECIOUS: $(VID_INPUT_YUV_PATH)/%.yuv
$(VID_INPUT_YUV_PATH)/%.yuv :
mkdir -p $(VID_INPUT_YUV_PATH)
scp server:/stddataset/crowd/yuv/$(notdir $@) $@
错误:
make: Circular ../input/ inputYuv0.yuv <- ../input/ inputYuv0.yuv dependency dropped.
make: Circular ../input/ inputYuv1.yuv <- ../input/ inputYuv0.yuv dependency dropped.
make: Circular ../input/ inputYuv1.yuv <- ../input/ inputYuv1.yuv dependency dropped.
make: Circular ../input/ inputYuv2.yuv <- ../input/ inputYuv0.yuv dependency dropped.
make: Circular ../input/ inputYuv2.yuv <- ../input/ inputYuv1.yuv dependency dropped.
make: Circular ../input/ inputYuv2.yuv <- ../input/ inputYuv2.yuv dependency dropped.
make: Circular ../input/ inputYuv3.yuv <- ../input/ inputYuv0.yuv dependency dropped.
make: Circular ../input/ inputYuv3.yuv <- ../input/ inputYuv1.yuv dependency dropped.
make: Circular ../input/ inputYuv3.yuv <- ../input/ inputYuv2.yuv dependency dropped.
make: Circular ../input/ inputYuv3.yuv <- ../input/ inputYuv3.yuv dependency dropped.
如何解决此循环依赖关系。
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论