Added uninstall option

This commit is contained in:
Ypnose 2012-10-12 15:14:39 +03:00
parent a80ebaa157
commit a24d3be5be

View File

@ -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