From e23b93a334d11a1764511534b3eb3708e30759d9 Mon Sep 17 00:00:00 2001 From: Wei Liu Date: Thu, 19 Jan 2017 19:00:14 +0000 Subject: [PATCH] tools/fuzz: make sure targets are always built Invocation of `make' in top-level directory would end up invoking the install target. Adjust fuzzing target makefiles a bit so that they are always build in that situation. Signed-off-by: Wei Liu --- tools/fuzz/Makefile | 6 ++---- tools/fuzz/libelf/Makefile | 3 +++ tools/fuzz/x86_instruction_emulator/Makefile | 3 +++ 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/tools/fuzz/Makefile b/tools/fuzz/Makefile index ce00b82b02..986fbb87ea 100644 --- a/tools/fuzz/Makefile +++ b/tools/fuzz/Makefile @@ -5,7 +5,5 @@ SUBDIRS-y := SUBDIRS-y += libelf SUBDIRS-y += x86_instruction_emulator -.PHONY: all clean distclean -all clean distclean: %: subdirs-% - -install: +.PHONY: all clean distclean install +all clean distclean install: %: subdirs-% diff --git a/tools/fuzz/libelf/Makefile b/tools/fuzz/libelf/Makefile index 0e9d40a4a0..c73ce44e87 100644 --- a/tools/fuzz/libelf/Makefile +++ b/tools/fuzz/libelf/Makefile @@ -29,3 +29,6 @@ distclean: clean .PHONY: clean clean: rm -f *.o *.a + +.PHONY: install +install: all diff --git a/tools/fuzz/x86_instruction_emulator/Makefile b/tools/fuzz/x86_instruction_emulator/Makefile index 505de39ab0..20431b0ae9 100644 --- a/tools/fuzz/x86_instruction_emulator/Makefile +++ b/tools/fuzz/x86_instruction_emulator/Makefile @@ -34,3 +34,6 @@ distclean: clean .PHONY: clean clean: rm -f *.a *.o + +.PHONY: install +install: all -- 2.30.2