add clean release target

This commit is contained in:
2025-09-12 23:18:10 +02:00
parent 3c8d9cce0b
commit d7e2151310
+19 -1
View File
@@ -22,8 +22,26 @@ install: build
valgrind: build
valgrind --leak-check=full -s ./build/$(TARGET) $(TEST_ARGS)
.PHONY: clean-release
clean-release:
@rm -rf \
autom4te.cache \
aclocal.m4 \
compile \
config.* \
configure \
depcomp \
$(TARGET) \
$(TARGET)-*.tar.gz \
install-sh \
Makefile \
Makefile.in \
missing \
src/.* \
src/*.o
.PHONY: release
release:
release: clean-release
aclocal
autoconf
automake --add-missing