Age | Commit message (Collapse) | Author |
|
Non-numbers that are passed will return -1, and print an error message.
This includes decimal places, as only integers can be even or odd.
|
|
When no args are provided, even will now print the help message and
return -1.
|
|
Before, quiet worked in reverse, i.e. text was only displayed when -q
was passed. Also, even now will not return 1 with an odd number when
quiet is not passed.
|
|
|
|
Zig is actually handling the building and such, now the Makefile is
here just as a wrapper for it.
|
|
Optimizing for size for the current comparison. Also, I don't know of a
generic way to do ${OBJ}: ${SRC} as a Makefile target, so I made that
part not generic.
|
|
This makes it both faster and smaller.
|
|
Changed around stuff in the help message to make it more consistent
with zeven.
|
|
The help message was missing some information, that has now been added.
|
|
even is a basic binary to check if the provided number is even.
|