diff options
| author | Nakidai <nakidai@disroot.org> | 2024-09-22 16:20:34 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2024-09-22 16:20:34 +0300 |
| commit | ff245c649700b7801d3e3fe602e5985e71c09896 (patch) | |
| tree | 93be1dccfa22fc90ac82a556ccb61725ac57639b | |
| parent | 9444de4a5a684f657241fd9a5a604f6b1b0f3f35 (diff) | |
| download | cpetpet-ff245c649700b7801d3e3fe602e5985e71c09896.tar.gz cpetpet-ff245c649700b7801d3e3fe602e5985e71c09896.zip | |
Add uninstall to makefile
| -rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile index 099cbec..fb6b6da 100644 --- a/Makefile +++ b/Makefile @@ -28,10 +28,14 @@ install: all install -m755 cpetpet.so $(DESTDIR)/lib install -m644 share/cpetpet/* $(DESTDIR)/share/cpetpet +uninstall: + $(RM) -r $(DESTDIR)/share/cpetpet + $(RM) $(DESTDIR)/lib/cpetpet.{a,so} + clean: $(RM) *.a *.o *.so cleanall: clean $(RM) config.* config.* -.PHONY: all clean install +.PHONY: all clean cleanall install uninstall |