uninstall rules have been rewritten

master
Philippe PITTOLI 2024-06-21 21:53:18 +02:00
parent 81142cbbe5
commit 3a55fcfb12
1 changed files with 5 additions and 9 deletions

View File

@ -38,15 +38,11 @@ install-bin: $(BINDIR) $(BINDIR)/hexa
install: install-bin install-pkgconfig install-library install-header install: install-bin install-pkgconfig install-library install-header
@echo "Now that you have installed the library, you should (probably) run ldconfig." @echo "Now that you have installed the library, you should (probably) run ldconfig."
uninstall-library: uninstall-library:; rm $(LIBDIR)/libhexa.a $(LIBDIR)/libhexa.so*
rm $(LIBDIR)/libhexa.a \ uninstall-header:; rm $(INCLUDEDIR)/libhexa.h
$(LIBDIR)/libhexa.so \ uninstall-bin:; rm $(BINDIR)/hexa
$(LIBDIR)/libhexa.so.* uninstall-pkgconfig:; rm $(PKGCONFIGDIR)/hexa.pc
uninstall-header: uninstall: uninstall-pkgconfig uninstall-library uninstall-header uninstall-bin
rm $(INCLUDEDIR)/libhexa.h
uninstall-bin:
rm $(BINDIR)/hexa
uninstall: uninstall-library uninstall-header uninstall-bin
mrproper: mrproper:
rm -r docs zig-cache zig-out 2>/dev/null || true rm -r docs zig-cache zig-out 2>/dev/null || true