]> git.codecow.com Git - Monocypher.git/commit
Fix makefile rule when test/vectors.h is missing
authorMichael Forney <mforney@mforney.org>
Tue, 19 Nov 2019 20:41:02 +0000 (12:41 -0800)
committerMichael Forney <mforney@mforney.org>
Tue, 19 Nov 2019 20:41:05 +0000 (12:41 -0800)
commit390e3329ca64d265f4c72ee35feb34f03f3eb79e
treef9cbfa28988a73fdde4adb3a3f2153c89e523e01
parent4b4259be8df26637e8ad78d0676526d0b44a5a80
Fix makefile rule when test/vectors.h is missing

`return` only works in functions, so when I run `make check` with no
tests/vectors.h, I get

return 1
make: return: Command not found
make: *** [makefile:189: tests/vectors.h] Error 127

While I guess this does the job, the right thing to do here is `exit 1`.
makefile