add mostlyclean target

This commit is contained in:
Rhiannon Morris 2022-01-04 20:09:09 +01:00
parent 5c2a50760a
commit 585706f1c5

View file

@ -77,13 +77,14 @@ include $(TMPDIR)/index.mk
endif
.PHONY: clean distclean
clean:
.PHONY: clean mostlyclean distclean
mostlyclean:
echo "[clean $(BUILDDIR)]"
rm -rf $(BUILDDIR)
distclean: clean
clean: mostlyclean
echo "[clean $(TMPDIR)]"
rm -rf $(TMPDIR)
distclean: clean
echo "[cabal clean]"
cabal --verbose=0 v2-clean