Click here to Skip to main content
15,886,816 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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:

VB
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
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900