This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

How to use copy command in makefile?

Hello,

  I used a command like this in the makefile, but the makefile reported an error.

	copy /V _build\ota_image\release_1.dat+_build\ota_image\release_1.bin _build\ota_image\ota_file.bin

process_begin: CreateProcess(NULL, copy /V _build\ota_image\release_1.dat+_build\ota_image\release_1.bin _build\ota_image\ota_file.bin, ...) failed.
make (e=2): The system cannot find the file specified.

But I can generate ota_file.bin with a bat file.

Regards, 

Gray.

Parents Reply Children
Related