From 94cfb0692e0499e7ba40908db5259cd19c0e3d5e Mon Sep 17 00:00:00 2001 From: David Lamparter Date: Wed, 15 Apr 2020 10:27:49 +0200 Subject: build: make clippy Makefile rules nicer These are easy to get subtly wrong, and doing so can cause nondeterministic failures when racing in parallel builds. Signed-off-by: David Lamparter --- pimd/subdir.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pimd') diff --git a/pimd/subdir.am b/pimd/subdir.am index cbb657dc3..121abea59 100644 --- a/pimd/subdir.am +++ b/pimd/subdir.am @@ -123,8 +123,9 @@ noinst_HEADERS += \ pimd/mtracebis_routeget.h \ # end -pimd/pim_cmd_clippy.c: $(CLIPPY_DEPS) -pimd/pim_cmd.$(OBJEXT): pimd/pim_cmd_clippy.c +clippy_scan += \ + pimd/pim_cmd.c \ + # end pimd_pimd_LDADD = pimd/libpim.a lib/libfrr.la $(LIBCAP) pimd_pimd_SOURCES = pimd/pim_main.c -- cgit v1.2.3