Add uninstall phony target for Makefile

This commit is contained in:
WeilunFong 2020-03-31 01:02:53 +08:00
parent 0efcf40f4d
commit cbe5fccb9c
1 changed files with 4 additions and 0 deletions

View File

@ -140,6 +140,10 @@ install: $(BINARY) mspdebug.man
$(INSTALL) -m 0644 ti_3410.fw.ihex \ $(INSTALL) -m 0644 ti_3410.fw.ihex \
$(DESTDIR)$(LIBDIR)/mspdebug/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 .SUFFIXES: .c .o
OBJ=\ OBJ=\