(executables (names hello hexdump))

(rule (with-stdout-to hello.output (run ./hello.exe)))

(alias
 (name   runtest)
 (action (diff hello.expected hello.output)))

(rule (with-stdout-to a (echo "toto\n")))
(rule (with-stdout-to b (echo "toto\r\n")))

(alias
 (name   cmp)
 (action (cmp a b)))
