diff options
| author | Nakidai <nakidai@disroot.org> | 2025-03-31 17:22:19 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2025-03-31 17:22:19 +0300 |
| commit | 445784a629c99336d47b31ea9540bd95bbb97dc1 (patch) | |
| tree | 119e91b0fb0813244a7d3968a7cc405e722a2979 /examples/Makefile | |
| parent | d0ea12857007f9d6d48df7e87b8dcdff4dd8a75e (diff) | |
| download | 3cl-445784a629c99336d47b31ea9540bd95bbb97dc1.tar.gz 3cl-445784a629c99336d47b31ea9540bd95bbb97dc1.zip | |
Add 2 more examples
- Number parser - Factorial (2 ways to implement)
Diffstat (limited to 'examples/Makefile')
| -rw-r--r-- | examples/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/Makefile b/examples/Makefile index faf2f75..db76c98 100644 --- a/examples/Makefile +++ b/examples/Makefile @@ -1,9 +1,12 @@ +TESTS += fac TESTS += fib TESTS += gcd +TESTS += num all: ${TESTS} .PHONY: ${TESTS} ${TESTS}: - @echo "Test: $@" + @printf "Testing %s..." $@ + @echo " OK" @test "`../3cl -d $@.ccl < in/$@`" = "`cat out/$@`" |