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
|
||||
@echo "Now that you have installed the library, you should (probably) run ldconfig."
|
||||
|
||||
uninstall-library:
|
||||
rm $(LIBDIR)/libhexa.a \
|
||||
$(LIBDIR)/libhexa.so \
|
||||
$(LIBDIR)/libhexa.so.*
|
||||
uninstall-header:
|
||||
rm $(INCLUDEDIR)/libhexa.h
|
||||
uninstall-bin:
|
||||
rm $(BINDIR)/hexa
|
||||
uninstall: uninstall-library uninstall-header uninstall-bin
|
||||
uninstall-library:; rm $(LIBDIR)/libhexa.a $(LIBDIR)/libhexa.so*
|
||||
uninstall-header:; rm $(INCLUDEDIR)/libhexa.h
|
||||
uninstall-bin:; rm $(BINDIR)/hexa
|
||||
uninstall-pkgconfig:; rm $(PKGCONFIGDIR)/hexa.pc
|
||||
uninstall: uninstall-pkgconfig uninstall-library uninstall-header uninstall-bin
|
||||
|
||||
mrproper:
|
||||
rm -r docs zig-cache zig-out 2>/dev/null || true
|
||||
|
|
Loading…
Reference in New Issue