crc-ceck在一个makefile中 [英] crc-ceck in a makefile
本文介绍了crc-ceck在一个makefile中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
嗨!
我想要的是在makefile中生成文件的crc64sum并将结果写入名为* .check的文件
在我的Makefile中我有这样的东西:
crc:$( DISTBinDir)/ $(PROGRAM).check
$(DISTBinDir)/ $(PROGRAM).check:
$(shell export LD_LIBRARY_PATH = $(CRC64SUM_PATH); $(CRC64SUM_PATH)/ crc64sum $(DISTBinDir)/ $(PROGRAM)> $(DISTBinDir)/ $(PROGRAM).check)
@echo -e $(绿色)生成CRC
* .check文件已创建,但它是总是空的!?为什么?
有谁能告诉我这里有什么问题?
问候
Adam
解决方案
(DISTBinDir)/
(PROGRAM).check
(DISTBinDir)/
Hi!
What i am trying is to generate a crc64sum of a file within a makefile and write the result into a file called *.check
In my Makefile i have something like this:
crc: $(DISTBinDir)/$(PROGRAM).check
$(DISTBinDir)/$(PROGRAM).check :
$(shell export LD_LIBRARY_PATH=$(CRC64SUM_PATH); $(CRC64SUM_PATH)/crc64sum $(DISTBinDir)/$(PROGRAM) > $(DISTBinDir)/$(PROGRAM).check)
@echo -e "$(green) Generating CRC"
The *.check file is created but it is always empty!? Why?
Can anybody tell me what's wrong here?
regards
Adam
解决方案
(DISTBinDir)/
(PROGRAM).check
(DISTBinDir)/
这篇关于crc-ceck在一个makefile中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文