From: Adam Crume Date: Fri, 27 Jun 2014 22:38:24 +0000 (-0700) Subject: lttng: Prevent creation of incorrect .o files when generating from .tp X-Git-Tag: v0.86~231^2~69 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=012ff2956bd2f12c9030bf1bb32a88cafd26f45c;p=ceph.git lttng: Prevent creation of incorrect .o files when generating from .tp Signed-off-by: Adam Crume --- diff --git a/src/tracing/Makefile.am b/src/tracing/Makefile.am index 9cae3cf7a65b..fce8c3d86552 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 \