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 endif
.PHONY: clean distclean .PHONY: clean mostlyclean distclean
clean: mostlyclean:
echo "[clean $(BUILDDIR)]" echo "[clean $(BUILDDIR)]"
rm -rf $(BUILDDIR) rm -rf $(BUILDDIR)
distclean: clean clean: mostlyclean
echo "[clean $(TMPDIR)]" echo "[clean $(TMPDIR)]"
rm -rf $(TMPDIR) rm -rf $(TMPDIR)
distclean: clean
echo "[cabal clean]" echo "[cabal clean]"
cabal --verbose=0 v2-clean cabal --verbose=0 v2-clean