uninstall rules have been rewritten
parent
81142cbbe5
commit
3a55fcfb12
14
makefile
14
makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue