11 VALGRIND
= valgrind
-v
--leak-check
=full
14 HEADER
= config.h flog_msg_id.h flog.h flog_string.h flog_output_stdio.h flog_output_file.h
15 SRC
= flog_msg_id.c flog.c flog_string.c flog_output_stdio.c flog_output_file.c
19 .PHONY
: all lib
clean distclean valgrind_test
26 $(CC
) $(CFLAGS
) -c
$< -o
$@
28 $(LIB
): $(OBJ
) $(HEADER
)
31 test: $(LIB
) $(HEADER
) test.o
32 $(CC
) $(LDFLAGS
) test.o
$(LIB
) -o
$@
34 doxygen
: Doxyfile
$(SRC
) $(HEADER
)
41 $(RM
) $(OBJ
) $(LIB
) test