tools/fuzz: make sure targets are always built
authorWei Liu <wei.liu2@citrix.com>
Thu, 19 Jan 2017 19:00:14 +0000 (19:00 +0000)
committerWei Liu <wei.liu2@citrix.com>
Tue, 24 Jan 2017 16:24:50 +0000 (16:24 +0000)
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 <wei.liu2@citrix.com>
tools/fuzz/Makefile
tools/fuzz/libelf/Makefile
tools/fuzz/x86_instruction_emulator/Makefile

index ce00b82b02fcffd465ed3114e1654205fb6a5879..986fbb87eadbd9b93935d7f1256a06206dd73829 100644 (file)
@@ -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-%
index 0e9d40a4a0ed7095d7d136dd434227e4e114282b..c73ce44e874975ca90fd31f00688e8631b593a4f 100644 (file)
@@ -29,3 +29,6 @@ distclean: clean
 .PHONY: clean
 clean:
        rm -f *.o *.a
+
+.PHONY: install
+install: all
index 505de39ab07e71e488e1b60a76d36e8a71b72b23..20431b0ae90500de47573460569947b4880e3073 100644 (file)
@@ -34,3 +34,6 @@ distclean: clean
 .PHONY: clean
 clean:
        rm -f *.a *.o
+
+.PHONY: install
+install: all