From 76704d4a11495b072129d6b7eb1d5d439137d2be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juhani=20Krekel=C3=A4?= Date: Mon, 15 Jul 2019 20:07:37 +0300 Subject: [PATCH] Don't build ethertype-dump and art-request or install them by default --- Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index a0d9e27..e1692a0 100644 --- a/Makefile +++ b/Makefile @@ -10,15 +10,18 @@ LDFLAGS += SED ?= sed -BINS := ethertype-dump arp-request ethermess +BINS := ethermess LIBEXECS := ethermess-backend +TOOLS := ethertype-dump arp-request .SUFFIXES: .SUFFIXES: .c .o -.PHONY: all install uninstall clean distclean +.PHONY: default all install uninstall clean distclean -all: $(BINS) $(LIBEXECS) +default: $(BINS) $(LIBEXECS) + +all: $(BINS) $(LIBEXECS) $(TOOLS) ethertype-dump: ethertype-dump.o $(CC) -o $@ $< $(LDFLAGS) @@ -48,6 +51,6 @@ uninstall: cs $(DESTDIR)$(LIBEXECDIR) && rm $(LIBEXECS) clean: - rm -f $(BINS) $(LIBEXECS) *.o + rm -f $(BINS) $(LIBEXECS) $(TOOLS) *.o distclean: clean