aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2026-04-05 12:15:00 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2026-04-05 12:15:00 +0200
commit48fea88bc51d26c01faeaad4e5413d62d0294fc9 (patch)
treedb5eb209d197d1c6006ca690a48739241b0c7684
parent7be16e6e5cfd8e2481a470474f7e41e127e9eba3 (diff)
downloaddynstr-48fea88bc51d26c01faeaad4e5413d62d0294fc9.tar.gz
Makefile: Support distclean target
-rw-r--r--Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 03f4714..3342638 100644
--- a/Makefile
+++ b/Makefile
@@ -48,6 +48,9 @@ install: all $(pkgcfgdir)/dynstr.pc
clean:
rm -f $(DEPS)
+distclean: clean
+ rm -f $(PROJECT_A) $(PROJECT_SO)
+
$(PROJECT_A): $(DEPS)
$(AR) $(ARFLAGS) $@ $(DEPS)