~emersion/mrsh

9f9884083831ea1f94bdda5151c5df3888932849 — Merlin 5 months ago 280fdf5 master
Makefile: Add uninstall rule
1 files changed, 8 insertions(+), 0 deletions(-)

M Makefile
M Makefile => Makefile +8 -0
@@ 80,6 80,14 @@ install: mrsh libmrsh.so.$(SOVERSION) $(OUTDIR)/mrsh.pc
	done
	install -m644 $(OUTDIR)/mrsh.pc $(PCDIR)/mrsh.pc

uninstall:
	rm -f $(BINDIR)/mrsh
	rm -f $(LIBDIR)/libmrsh.so.$(SOVERSION)
	for inc in $(public_includes); do \
		rm -f $(INCDIR)/mrsh/$$(basename $$inc); \
	done
	rm -f $(PCDIR)/mrsh.pc

clean:
	rm -rf \
		$(libmrsh_objects) \