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