From be3c91333f436dab7b473f1bda34db525933bf68 Mon Sep 17 00:00:00 2001 From: Adam Crume Date: Fri, 27 Jun 2014 15:38:24 -0700 Subject: [PATCH] lttng: Prevent creation of incorrect .o files when generating from .tp Signed-off-by: Adam Crume --- src/tracing/Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/tracing/Makefile.am b/src/tracing/Makefile.am index 9cae3cf7a65b9..fce8c3d865522 100644 --- a/src/tracing/Makefile.am +++ b/src/tracing/Makefile.am @@ -1,6 +1,5 @@ %.c %.h: %.tp - $(LTTNG_GEN_TP_PROG) $< - rm -f $<.o + $(LTTNG_GEN_TP_PROG) $< -o $*.c -o $*.h dist_noinst_DATA = \ librados.tp \ -- 2.39.5