15 VALGRIND
= valgrind
-v
--leak-check
=full
18 HEADER
= config.h flog_msg_id.h flog.h flog_string.h flog_output_stdio.h flog_output_file.h
19 SRC
= flog_msg_id.c flog.c flog_string.c flog_output_stdio.c flog_output_file.c
23 .PHONY
: all lib
clean distclean valgrind_test
30 $(CC
) $(CFLAGS
) -c
$< -o
$@
32 $(LIB
): $(OBJ
) $(HEADER
)
35 test: $(LIB
) $(HEADER
) test.o
36 $(CC
) $(LDFLAGS
) test.o
$(LIB
) -o
$@
38 doxygen
: Doxyfile
$(SRC
) $(HEADER
)
45 $(RM
) $(OBJ
) $(LIB
) test.o
test