diff options
| -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 |