Added uninstall option
This commit is contained in:
parent
a80ebaa157
commit
a24d3be5be
4
Makefile
4
Makefile
|
@ -38,4 +38,8 @@ install: bar
|
||||||
test -d ${DESTDIR}${BINDIR} || mkdir -p ${DESTDIR}${BINDIR}
|
test -d ${DESTDIR}${BINDIR} || mkdir -p ${DESTDIR}${BINDIR}
|
||||||
install -m755 bar ${DESTDIR}${BINDIR}/bar
|
install -m755 bar ${DESTDIR}${BINDIR}/bar
|
||||||
|
|
||||||
|
uninstall:
|
||||||
|
@echo removing executable file from ${DESTDIR}${BINDIR}
|
||||||
|
rm -f ${DESTDIR}${BINDIR}/bar
|
||||||
|
|
||||||
.PHONY: all debug clean install
|
.PHONY: all debug clean install
|
||||||
|
|
Loading…
Reference in New Issue
Block a user