1 ALL_FLAGS_TEST
= $(ALL_FLAGS
) -I..
/src
/diff
2 ALL_LD_FLAGS_TEST
= $(ALL_LD_FLAGS
) -lcppu
4 TEST_SUITES
= text.
cpp snippet.
cpp hunk.
cpp
5 OBJS
= ..
/src
/diff
/text.o ..
/src
/diff
/snippet.o ..
/src
/diff
/hunk.o
11 @echo
-ne
"Press key to start valgrind "
13 -valgrind
--leak-check
=full
--show-reachable
=yes .
/test
15 test: main.
cpp $(TEST_SUITES
)
16 $(CC
) $(ALL_FLAGS_TEST
) -o
$@
$< $(OBJS
) $(ALL_LD_FLAGS_TEST
)