2 coverage_opts = -ftest-coverage -fprofile-arcs
10 unit_test:: unit_test.cpp rmr_em.o
11 # do NOT link the xapp lib; we include all modules in the test programme
12 g++ -g $(coverage_opts) -I ../src/messaging unit_test.cpp -o unit_test rmr_em.o -lpthread
14 # prune gcov files generated by system include files
16 rm -f *.h.gcov *.c.gcov
18 # ditch anything that can be rebuilt
20 rm -f *.a *.o *.gcov *.gcda *.gcno core a.out $(binaries)