diff --git a/src/Makefile b/src/Makefile index c93bbb4..5a519f2 100755 --- a/src/Makefile +++ b/src/Makefile @@ -47,6 +47,13 @@ install: $(LIB) $(HEADER_INST) install -D -m 755 $< $(DESTDIR)/usr/lib/$(subst ../,,$<) install -D -m 755 ../gen_enum_str.py $(DESTDIR)/usr/bin/gz-enum-str +uninstall: + -rm $(DESTDIR)/usr/lib/$(subst ../,,$(LIB)) + -rm $(DESTDIR)/usr/bin/gz-enum-str + -rm -r $(DESTDIR)/usr/include/gz-util/ + -rm $(OBJECT_DIR)/*.stamp + + $(OBJECT_DIR)/%.stamp: %.hpp $(OBJECT_DIR) install -D -m 644 $< $(DESTDIR)/usr/include/gz-util/$< touch $@