From cbe5fccb9cbb574649b102f030df500b7bb93893 Mon Sep 17 00:00:00 2001 From: WeilunFong Date: Tue, 31 Mar 2020 01:02:53 +0800 Subject: [PATCH] Add uninstall phony target for Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 370da1b..6e0cb2d 100644 --- a/Makefile +++ b/Makefile @@ -140,6 +140,10 @@ install: $(BINARY) mspdebug.man $(INSTALL) -m 0644 ti_3410.fw.ihex \ $(DESTDIR)$(LIBDIR)/mspdebug/ti_3410.fw.ihex +uninstall: + $(RM) $(DESTDIR)$(BINDIR)$(BINARY) $(DESTDIR)$(MANDIR)/mspdebug.1\ + $(DESTDIR)$(LIBDIR)/mspdebug/ti_3410.fw.ihex + .SUFFIXES: .c .o OBJ=\