From 062573c79cfc3dcbc2313f85c6b7ebd76a5cf770 Mon Sep 17 00:00:00 2001 From: Tristan Riehs Date: Sun, 31 May 2026 11:18:21 +0200 Subject: Add an uninstall rule --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ef5de9e..e69a602 100644 --- a/Makefile +++ b/Makefile @@ -29,4 +29,7 @@ install: libuconfig.a install --mode=0644 libuconfig.a $(PREFIX)/lib/ install --mode=0644 include/uconfig.h $(PREFIX)/include/ -.PHONY: all check clean install +uninstall: + rm -f $(PREFIX)/lib/liuconfig.a $(PREFIX)/include/uconfig.h + +.PHONY: all check clean install uninstall -- cgit v1.2.3