HF RL Explorer

seven-segment display: add make target

seven-segment display: add make target: a task in smol-software-harbor (Harbor dataset). Add two targets to the Makefile : clean , which removes segclock and out.txt (without failing if they do not exist), and check , which builds the program and verifies that ./segclock 42 prints exactly the…

The task

Add two targets to the `Makefile`: `clean`, which removes `segclock` and `out.txt` (without failing if they do not exist), and `check`, which builds the program and verifies that `./segclock 42` prints exactly the contents of `tests/42.txt` (create that file with the expected 3 lines). Declare both as phony. `make…

Part of efederici/smol-software-harbor.