| 1 |
all: |
| 2 |
gprbuild -p -f -Pharness |
| 3 |
|
| 4 |
coverage: |
| 5 |
gprbuild -p -f -Pharness -XCOVERAGE=yes |
| 6 |
./test_calculator |
| 7 |
cd obj; gcov ../../tested_lib/obj/*.gcda |
| 8 |
|
| 9 |
clean: |
| 10 |
gprclean -Pharness |
| 11 |
gprclean -Ptested_lib/testlib |
| 12 |
-rm -rf obj |
| 13 |
-rm -rf tested_lib/obj |
| 14 |
-rm -rf tested_lib/lib |